new stuff

This commit is contained in:
Jeffrey Paul
2013-03-11 23:22:36 +01:00
parent 3638f91be4
commit a3d1ba6310
3 changed files with 87 additions and 2 deletions

18
fetchtweets/fetchtweets Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env python
from pprint import pformat
# lol https://gist.github.com/re4k/3878505
APIKEY = '3rJOl1ODzm9yZy63FACdg'
APISECRET = '5jPoQ5kQvMJFDYRNE8bQ4rHuds4xJqhvgNJM4awaE8'
import twitter
api = twitter.Api()
# consumer_key = APIKEY,
# consumer_secret = APISECRET
#)
statuses = api.GetUserTimeline('sneakatdatavibe')
print pformat([s.__dict__ for s in statuses])
#print api.VerifyCredentials()