A simple PHP client for the TheySay AffectR API
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENCE
README.md
affectr.php
affectr_api_client.php
composer.json
composer.lock
composer.phar
texts.php

README.md

affectr-php

A simple PHP client for TheySay AffectR API.

Dependencies

The client has been tested on PHP 5.3.15 on OS X 10.8.2. The following additional packages are used:

"underscore/underscore.php": "1.3.1"
"mashape/unirest-php": "1.2.1"

Install the above packages with composer:

php composer.phar install

Running Examples

php affectr_api_client.php yourAPIUserName yourAPIPassWord

The API client submits the sample texts from the text.php file to TheySay AffectR API and displays the results in the console.

Licence

Apache 2 Licence. Copyright 2014 TheySay Ltd.

For further details, see the LICENCE file.