Quick Start

Import the API class for the Twitter API by writing:

from pysna import TwitterAPI

or import utility functions, too, by writing:

from pysna import *

Then, create an API instance by running:

api = TwitterAPI("BEARER_TOKEN", "CONSUMER_KEY", "CONSUMER_SECRET", "ACCESS_TOKEN", "ACCESS_TOKEN_SECRET")

and invoke a function:

api.user_info(...)

Find usage and output examples in the examples folder.