Skip to main content
Access Trends endpoints via client.Trends (TrendsClient).

Methods

GetByWoeidAsync

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

int
required
woeid (path parameter).
Returns: Task<GetTrendsByWoeidResponse>

GetLocationsAsync

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: Task<GetTrendsLocationsResponse>

GetPersonalizedAsync

GET /2/users/personalized_trends Get Personalized Trends Retrieves personalized trending topics for the authenticated user.

Parameters

Returns: Task<GetTrendsPersonalizedTrendsResponse>