Migrated from search-api v6
parent
0ba9cbc93f
commit
f2167349d8
1 changed files with 4 additions and 4 deletions
|
|
@ -20,7 +20,7 @@ If you take a moment to read through Twitter's "Search API Docs":http://apiwiki.
|
||||||
import twython
|
import twython
|
||||||
|
|
||||||
""" Instantiate Tango with no Authentication """
|
""" Instantiate Tango with no Authentication """
|
||||||
twitter = twython.setup()
|
twitter = twython.core.setup()
|
||||||
search_results = twitter.searchTwitter("WebsDotCom", rpp="50")
|
search_results = twitter.searchTwitter("WebsDotCom", rpp="50")
|
||||||
|
|
||||||
for tweet in search_results["results"]:
|
for tweet in search_results["results"]:
|
||||||
|
|
@ -41,7 +41,7 @@ Parameters:
|
||||||
import twython
|
import twython
|
||||||
|
|
||||||
""" Instantiate Twython with no Authentication """
|
""" Instantiate Twython with no Authentication """
|
||||||
twitter = twython.setup()
|
twitter = twython.core.setup()
|
||||||
trends = twitter.getCurrentTrends()
|
trends = twitter.getCurrentTrends()
|
||||||
|
|
||||||
print trends
|
print trends
|
||||||
|
|
@ -62,7 +62,7 @@ Parameters:
|
||||||
import twython
|
import twython
|
||||||
|
|
||||||
""" Instantiate Twython with no Authentication """
|
""" Instantiate Twython with no Authentication """
|
||||||
twitter = twython.setup()
|
twitter = twython.core.setup()
|
||||||
trends = twitter.getDailyTrends()
|
trends = twitter.getDailyTrends()
|
||||||
|
|
||||||
print trends
|
print trends
|
||||||
|
|
@ -83,7 +83,7 @@ Parameters:
|
||||||
import twython
|
import twython
|
||||||
|
|
||||||
""" Instantiate Twython with no Authentication """
|
""" Instantiate Twython with no Authentication """
|
||||||
twitter = twython.setup()
|
twitter = twython.core.setup()
|
||||||
trends = twitter.getWeeklyTrends()
|
trends = twitter.getWeeklyTrends()
|
||||||
|
|
||||||
print trends
|
print trends
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue