Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 594 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 594 Bytes

About

This is the PHP client library for AYLIEN's APIs. If you haven't already done so, you will need to sign up.

Installation

To install, simply added it to your composer.json:

{
  "require": {
    "aylien/textapi": "0.3.*"
  }
}

See the Developers Guide for additional documentation.

Example

$textapi = new AYLIEN\TextAPI("YourApplicationId", "YourApplicationKey");
$sentiment = $textapi->Sentiment(array('text' => 'John is a very good football player!'));