Update Examples and LICENSE

Some examples were out of date (any trends example)
Renamed the core_examples dir. to examples
This commit is contained in:
Mike Helmick 2013-04-18 22:21:32 -04:00
parent bb019d3a57
commit 4ac6436901
14 changed files with 44 additions and 67 deletions

View file

@ -0,0 +1,9 @@
from twython import Twython, TwythonError
# Requires Authentication as of Twitter API v1.1
twitter = Twython(APP_KEY, APP_SECRET, OAUTH_TOKEN, OAUTH_TOKEN_SECRET)
try:
twitter.updateStatus(status='See how easy this was?')
except TwythonError as e:
print e