aylien/textapi

Client library for AYLIEN Text API

This package's canonical repository appears to be gone and the package has been frozen as a result.

v0.8.0 2018-08-21 07:57 UTC

This package is not auto-updated.

Last update: 2024-01-20 12:37:28 UTC


README

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 add it to your composer.json:

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

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!'));