twittergae - new MIT licensed python code for twitter API access from GAE apps

39 views
Skip to first unread message

Doug Anderson

unread,
Aug 6, 2014, 9:39:34 PM8/6/14
to google-a...@googlegroups.com
twittergae is new MIT licensed python code for interfacing to the twitter api from GAE
  • It's relatively lightweight
  • Uses native GAE APIs directly such as urlfetch()
  • Supports sync, async, and ndb-async for any call
  • Supports "update_with_media"... yes multipart upload (embedded photo upload) IS supported!
Example... send a tweet:

from twittergae.tweets import Tweets

# Initialize with your twitter credentials
tweets = Tweets(TWITTER_API_KEY,
                         TWITTER_API_SECRET_KEY,
                         TWITTER_ACCESS_TOKEN,
                         TWITTER_ACCESS_SECRET_TOKEN)
tweets.update('Hello Twitterverse from twittergae')

Developed for:

See example tweets: @sooshicom

Source code and additional examples on Github:

I hope you find it useful!

 - Doug Anderson
Reply all
Reply to author
Forward
0 new messages