From: Harmon Date: Fri, 3 May 2019 21:18:55 +0000 (-0500) Subject: Update documentation for API.trends_place X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=de51cf03397c94c65c5436dc0951cda7214ff5a0;p=tweepy.git Update documentation for API.trends_place --- diff --git a/docs/api.rst b/docs/api.rst index 0f5ed1c..df2bfe0 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -756,12 +756,14 @@ Trends Methods .. method:: API.trends_place(id, [exclude]) - Returns the top 10 trending topics for a specific WOEID, if trending information is available for it. + Returns the top 50 trending topics for a specific WOEID, if trending information is available for it. 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. + The tweet_volume for the last 24 hours is also returned for many trends if this is available. + :param id: The Yahoo! Where On Earth ID of the location to return trending information for. Global information is available by using 1 as the WOEID. :param exclude: Setting this equal to hashtags will remove all hashtags from the trends list. :rtype: :class:`JSON` object