+------------------------------------------+--------------------------------------+
| .. centered:: |Get locations with trending topics|_ |
+------------------------------------------+--------------------------------------+
- | `GET trends/available`_ | :meth:`API.trends_available` |
+ | `GET trends/available`_ | :meth:`API.available_trends` |
+------------------------------------------+--------------------------------------+
| `GET trends/closest`_ | :meth:`API.trends_closest` |
+------------------------------------------+--------------------------------------+
Get locations with trending topics
----------------------------------
-.. automethod:: API.trends_available
+.. automethod:: API.available_trends
.. automethod:: API.trends_closest
# Get locations with trending topics
@payload('json')
- def trends_available(self, **kwargs):
- """trends_available()
+ def available_trends(self, **kwargs):
+ """available_trends()
Returns the locations that Twitter has trending topic information for.
The response is an array of "locations" that encode the location's