client.trends() (TrendsClient).
Methods
getByWoeid
GET /2/trends/by/woeid/{woeid}
Get Trends by WOEID
Retrieves trending topics for a specific location identified by its WOEID. meta.location describes that location: its woeid and name, and when they are known its country, country_code, place_type (town, country or supername) and parent_id, the WOEID of the place that contains it.
Parameters
Returns:Schemas.GetTrendsByWoeidResponse
getLocations
GET /2/trends/locations
Get Trend Locations
Retrieves every location that has trends. Each location has a WOEID to pass to GET /2/trends/by/woeid/{woeid}. The list is short and is returned whole, so the route takes no paging parameters.
Parameters
Returns:Schemas.GetTrendsLocationsResponse
getPersonalized
GET /2/users/personalized_trends
Get Personalized Trends
Retrieves personalized trending topics for the authenticated user.
Parameters
Returns:Schemas.GetTrendsPersonalizedTrendsResponse