From: Harmon Date: Tue, 6 Apr 2021 22:06:23 +0000 (-0500) Subject: Add API documentation header to match API reference index X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c521d06c7941720b7772330222943c6972035986;p=tweepy.git Add API documentation header to match API reference index --- diff --git a/docs/api.rst b/docs/api.rst index b7d819f..9c794e4 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -25,6 +25,9 @@ Get Tweet timelines .. automethod:: API.user_timeline +Post, retrieve, and engage with Tweets +-------------------------------------- + .. method:: API.statuses_lookup(id_, [include_entities], [trim_user], [map_], \ [include_ext_alt_text], [include_card_uri]) diff --git a/tweepy/api.py b/tweepy/api.py index b9ff016..96470cc 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -340,6 +340,8 @@ class API: ), **kwargs ) + # Post, retrieve, and engage with Tweets + @payload('status', list=True) def statuses_lookup(self, id, **kwargs): """ :reference: https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/get-statuses-lookup