From 423a44437495a1ec4eb0ebf616cc0f52e4599416 Mon Sep 17 00:00:00 2001 From: Harmon Date: Thu, 27 May 2021 10:59:20 -0500 Subject: [PATCH] Update and improve documentation for API.geo_id --- tweepy/api.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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) -- 2.25.1