Documented the new proxy use/authentication methods (see the setup() method)

This commit is contained in:
Ryan McGrath 2009-12-21 03:04:46 -05:00
parent 221b337798
commit 68ac67e85d
2 changed files with 18 additions and 0 deletions

View file

@ -60,6 +60,15 @@ class setup:
Parameters:
username - Your Twitter username, if you want Basic (HTTP) Authentication.
password - Password for your twitter account, if you want Basic (HTTP) Authentication.
proxy - An object detailing information, in case proxy use/authentication is required. Object passed should be something like...
proxyobj = {
"username": "fjnfsjdnfjd",
"password": "fjnfjsjdfnjd",
"host": "http://fjanfjasnfjjfnajsdfasd.com",
"port": 87
}
headers - User agent header.
version (number) - Twitter supports a "versioned" API as of Oct. 16th, 2009 - this defaults to 1, but can be overridden on a class and function-based basis.