pywws.ToTwitter¶
Postare messaggi su 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
Questo modulo invia un breve messaggio a Twitter. Prima di pubblicare su Twitter è necessario configurare un account e quindi autorizzare pywws eseguendo il programma TwitterAuth
. Vedere Come configurare pywws per pubblicare messaggi su Twitter per le istruzioni dettagliate.
Funzioni
main ([argv]) |
Classi
PythonTwitterHandler (key, secret, latitude, …) |
|
ToTwitter (params) |
|
TweepyHandler (key, secret, latitude, longitude) |
-
class
pywws.ToTwitter.
TweepyHandler
(key, secret, latitude, longitude)[sorgente]¶ -
post
(status, media)[sorgente]¶
-
-
class
pywws.ToTwitter.
PythonTwitterHandler
(key, secret, latitude, longitude, timeout)[sorgente]¶ -
post
(status, media)[sorgente]¶
-
-
class
pywws.ToTwitter.
ToTwitter
(params)[sorgente]¶ -
Upload
(tweet)[sorgente]¶
-
UploadFile
(file)[sorgente]¶
-
-
pywws.ToTwitter.
main
(argv=None)[sorgente]¶
Comments or questions? Please subscribe to the pywws mailing list http://groups.google.com/group/pywws and let us know.