topsipy

A simple wrapper library for the Topsy APIs


License
Other
Install
pip install topsipy==1.0.1

Documentation

Topsipy - A simple Python wrapper for the Topsy web APIs.

Description

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.

Requirement

You will need an APIs key in order to access the web APIs service. For more information, please go to Topsy API Service

Documentation

You can find Topsy APIs documentation here

Dependencies

Installation

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

Simple Example

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'

Issue Report

If you find any problems or have any suggestions or such, please post them [here] (https://github.com/wenyaowu/topsipy/issues)

Version

  • 1.0 - 04/15/2015 - Initial Commit
  • 1.0.1 - o4/16/2015 - Complete featues