From: Harmon Date: Tue, 25 May 2021 10:56:15 +0000 (-0500) Subject: Update and improve documentation for API.get_profile_banner X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=54bde2df882c84e17fc6f758e60972fed1105971;p=tweepy.git Update and improve documentation for API.get_profile_banner --- diff --git a/tweepy/api.py b/tweepy/api.py index 62291e5..2d29036 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -2617,12 +2617,21 @@ class API: The profile banner data available at each size variant's URL is in PNG format. - :param user_id: |user_id| - :param screen_name: |screen_name| + Parameters + ---------- + user_id + |user_id| + screen_name + |screen_name| - :rtype: :class:`JSON` object + Returns + ------- + :class:`dict` + JSON - :reference: https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/manage-account-settings/api-reference/get-users-profile_banner + References + ---------- + https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/manage-account-settings/api-reference/get-users-profile_banner """ return self.request( 'GET', 'users/profile_banner', endpoint_parameters=(