class documentation
class Authenticate(object): (source)
Methods for authenticating with Twitter.
Method | __init__ |
Undocumented |
Method | load |
Read OAuth credentials from a text file. |
Instance Variable | creds |
Undocumented |
Instance Variable | creds |
Undocumented |
Instance Variable | creds |
Undocumented |
Instance Variable | oauth |
Undocumented |
Instance Variable | twitter |
Undocumented |
Method | _validate |
Check validity of a credentials file. |
Read OAuth credentials from a text file.
- ::
- app_key=YOUR_APP_KEY app_secret=YOUR_APP_SECRET oauth_token=OAUTH_TOKEN oauth_token_secret=OAUTH_TOKEN_SECRET
- ::
- app_key=YOUR_APP_KEY app_secret=YOUR_APP_SECRET access_token=ACCESS_TOKEN
Parameters | |
creds | Undocumented |
subdir | Undocumented |
verbose | Undocumented |
str file | File containing credentials. None (default) reads data from TWITTER/'credentials.txt' |