Tosipy is a python client library for the Topsy web APIs. Topsy is a Twitter partner which resell and analyze data. Topsy APIs provide the comprehensive analytics or social data project.
You will need an APIs key in order to access the web APIs service. For more information, please go to Topsy API Service
You can find Topsy APIs documentation here
- [Requests] (https://github.com/kennethreitz/requests) - Topsipy use requests package.
If you already have Python on your system you can install the library simply by downloading the distribution, unpack it and install in the usual fashion:
python setup.py install
You can also install it using a popular package manager with
pip install topsipy
To get started, install topsipy, create a Topsipy object with your api key and call the method:
import topsipy
tp = topsipy.Topsipy(api_key = API_KEY)
result = tp.top_tweet(q='#Avengers',offset=0, limit=5)
for tweet in result['response']['results']['list']:
print tweet['author']['name']+':'+tweet['tweet']['text']+'\n'
If you find any problems or have any suggestions or such, please post them [here] (https://github.com/wenyaowu/topsipy/issues)
- 1.0 - 04/15/2015 - Initial Commit
- 1.0.1 - o4/16/2015 - Complete featues