Skip to content

sakthipriyan/twython-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twython Service

Twython Service adds another level of abstraction while posting tweets via Twython. It smoothly works over unstable Internet connection.

Installing Twython service

# Installing Twython Service
git clone git://github.com/spriyan/twython-service.git
cd twython-service
sudo python setup.py install

Using Twython Service

# Initializing the TwythonService object
twython_service = TwythonService('/path/to/config/file','/path/to/database/file')

# Example of sending tweet
twython_service.new_tweet(text = 'Your tweet goes in here')

# Example of sending the tweet within specified time. Defaults to 30 days.
twython_service.new_tweet(text = 'Your tweet goes in here', expires_in=300)

# Example of sending the tweet with image 
twython_service.new_tweet(text = 'Your tweet goes in here', image_file='/path/to/image/file')

# Terminate the Twython Service 
twython_service.terminate()

About

Twython Service adds another level of abstraction while accessing the Twython Python wrapper for Twitter API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages