From: Harmon Date: Thu, 27 May 2021 15:59:20 +0000 (-0500) Subject: Update and improve documentation for API.geo_id X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=423a44437495a1ec4eb0ebf616cc0f52e4599416;p=tweepy.git Update and improve documentation for API.geo_id --- diff --git a/tweepy/api.py b/tweepy/api.py index 73fed15..38fb6d6 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -3751,11 +3751,18 @@ class API: Given ``place_id``, provide more details about that place. - :param place_id: Valid Twitter ID of a location. + Parameters + ---------- + place_id + Valid Twitter ID of a location. - :rtype: :class:`Place` object + Returns + ------- + :class:`~tweepy.models.Place` - :reference: https://developer.twitter.com/en/docs/twitter-api/v1/geo/place-information/api-reference/get-geo-id-place_id + References + ---------- + https://developer.twitter.com/en/docs/twitter-api/v1/geo/place-information/api-reference/get-geo-id-place_id """ return self.request('GET', f'geo/id/{place_id}', **kwargs)