As described at https://dev.twitter.com/docs/api/1/get/trends, GET trends
(corresponding to Api.GetTrendsCurrent) is now deprecated in favor of GET
trends/:woeid. GET trends also now requires authentication, while trends/:woeid
doesn't.
Attached is a patch against trunk that adds support for this request, as
GetTrendsWoeid. Here is a sample usage, for the Boston Yahoo! Where on Earth ID
(WOEID) of 2367105:
>>> from twitter import Api
>>> api = Api()
>>> for trend in api.GetTrendsWoeid(2367105):
... print trend.name
...
#AnnoyingThings
#DontYouHateItWhen
#ThingsThatUse2BeCool
Forrest Gump
Christmas
You Got Served
Xmas
Knicks
Ohio State
How High
Original issue reported on code.google.com by jessica....@gmail.com on 27 Nov 2011 at 1:14
Original issue reported on code.google.com by
jessica....@gmail.com
on 27 Nov 2011 at 1:14Attachments: