New package structure; twython is now separated out into core/oauth/streaming. To maintain compatibility with older Twython versions, simply import twython like: 'import twython.core as twython' - this will allow for easier oauth/streaming development, and should hopefully fix a lot of the installation issues people kept running into with easy_install
This commit is contained in:
parent
fc5aaebda3
commit
a3edbb2348
26 changed files with 35 additions and 34 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import twitter
|
||||
import twython.core as twython
|
||||
|
||||
twitter = twython.setup(authtype="Basic", username="example", password="example")
|
||||
twitter = twython.setup(username="example", password="example")
|
||||
mentions = twitter.getUserMentions(count="150")
|
||||
|
||||
print mentions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue