pywws.ToTwitter

Post a message to Twitter

usage: python -m pywws.ToTwitter [options] data_dir file
options are:
 -h | --help  display this help
data_dir is the root directory of the weather data
file is the text file to be uploaded

This module posts a brief message to Twitter. Before posting to Twitter you need to set up an account and then authorise pywws by running the TwitterAuth program. See How to configure pywws to post messages to Twitter for detailed instructions.

Functions

main([argv])

Classes

PythonTwitterHandler(key, secret, latitude, …)
ToTwitter(params)
TweepyHandler(key, secret, latitude, longitude)
class pywws.ToTwitter.TweepyHandler(key, secret, latitude, longitude)[source]
post(status, media)[source]
class pywws.ToTwitter.PythonTwitterHandler(key, secret, latitude, longitude, timeout)[source]
post(status, media)[source]
class pywws.ToTwitter.ToTwitter(params)[source]
Upload(tweet)[source]
UploadFile(file)[source]
pywws.ToTwitter.main(argv=None)[source]

Comments or questions? Please subscribe to the pywws mailing list http://groups.google.com/group/pywws and let us know.