]>
jfr.im git - z_archive/twitter.git/blob - twitter/__init__.py
d48fd9bfc394c1c71da03d7d592153217144a5a3
2 The minimalist yet fully featured Twitter API and Python toolset.
4 The Twitter and TwitterStream classes are the key to building your own
5 Twitter-enabled applications.
9 from .api
import Twitter
, TwitterError
, TwitterHTTPError
, TwitterResponse
10 from .auth
import NoAuth
, UserPassAuth
11 from .oauth
import OAuth
, read_token_file
, write_token_file
12 from .stream
import TwitterStream
15 # Who needs Sphinx? Not me!
21 __doc__
+= Twitter
.__doc
__
24 The TwitterStream class
25 =======================
27 __doc__
+= TwitterStream
.__doc
__
31 Twitter Response Objects
32 ========================
34 __doc__
+= TwitterResponse
.__doc
__
38 Authentication Objects
39 ======================
41 You can authenticate with Twitter in three ways: NoAuth, OAuth, or
42 UserPassAuth. Get help() on these classes to learn how to use them.
48 read_token_file and write_token_file are utility methods to read and
49 write OAuth token and secret key values. The values are stored as
50 strings in the file. Not terribly exciting.
53 __all__
= ["Twitter", "TwitterStream", "TwitterResponse", "TwitterError",
54 "TwitterHTTPError", "NoAuth", "OAuth", "UserPassAuth",
55 "read_token_file", "write_token_file"]