twitter_trends
Retrieve top trends for a location using a country name, ISO code, or WOEID. Omit location for worldwide trends, and use count to truncate the returned list.
Instructions
Get the current top trends for a location. With no location parameter, returns Worldwide (WOEID 1, X's own default). Pass country (an ISO code or country name, e.g. 'US' or 'Japan') or a numeric woeid from twitter_trends_locations; woeid wins when both are given. Returns the resolved location, the as_of / created_at timestamps, and the ranked trends list. Use count to truncate the list. A location X will not serve returns a 400.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Truncate the returned trends list to at most this many. Omit to return X's full list for the location. | |
| woeid | No | Numeric WOEID from twitter_trends_locations. Takes precedence over country when both are supplied. | |
| country | No | Country name or ISO code to get trends for, e.g. 'US' or 'Japan'. Resolved against the trends locations list. Omit for Worldwide. |