The response is an array of "trend" objects that encode the name of the trending topic, the query parameter that can be used to search for the topic on Twitter Search, and the Twitter Search URL.
This information is cached for 5 minutes. Requesting more frequently than that will not return any more data, and will count against your rate limit usage.
public trendsPlace ( string $id, string[optional] $exclude = null ) : array | ||
$id | string | The Yahoo! Where On Earth ID of the location to return trending information for. Global information is available by using 1 as the WOEID. |
$exclude | string[optional] | |
Résultat | array |