TheySay AffectR API Python Client
The TheySay AffectR API Python client provides a simple interface to the TheySay AffectR API.
You can sign up for a TheySay AffectR API account at http://theysay.io.
Python 2.7 or later.
Set your account details:
affectr.set_details("your username", "your password")
Next, call any classification task with your text on the AffectR API class, for example:
affectr.client.classify_intent( "We are planning to implement a real-time data service. " + "What are the advantages/disadvantages of using a Foobar-compliant database over Hype.js?" ).intentType)
For more information, please visit http://docs.theysay.apiary.io/.
Copyright 2013 TheySay Ltd. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.