Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (9 sloc) 0.356 kB
# -*- coding: utf-8 -*-
import json
import twitter
from recipe__oauth_login import oauth_login
t = oauth_login()
WORLD_WOE_ID = 1 # The Yahoo! Where On Earth ID for the entire world
world_trends = t.trends.place(_id=WORLD_WOE_ID) # get back a callable
# call the callable and iterate through the trends returned
print json.dumps(world_trends, indent=1)
Jump to Line
Something went wrong with that request. Please try again.