From 42db0096d8e38b282a90d320d3e176e3e067fca0 Mon Sep 17 00:00:00 2001 From: Harmon Date: Thu, 27 May 2021 10:54:20 -0500 Subject: [PATCH] Update and improve documentation for API.trends_available --- tweepy/api.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index e7e37c6..863aa2f 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -3646,9 +3646,14 @@ class API: information such as a canonical name and country the location belongs in. - :rtype: :class:`JSON` object + Returns + ------- + :class:`dict` + JSON - :reference: https://developer.twitter.com/en/docs/twitter-api/v1/trends/locations-with-trending-topics/api-reference/get-trends-available + References + ---------- + https://developer.twitter.com/en/docs/twitter-api/v1/trends/locations-with-trending-topics/api-reference/get-trends-available """ return self.request('GET', 'trends/available', **kwargs) -- 2.25.1