Add API documentation header to match API reference index
authorHarmon <Harmon758@gmail.com>
Tue, 6 Apr 2021 22:06:23 +0000 (17:06 -0500)
committerHarmon <Harmon758@gmail.com>
Tue, 6 Apr 2021 22:06:23 +0000 (17:06 -0500)
docs/api.rst
tweepy/api.py

index b7d819ff70e3fe835bc6a79038665b3a436d3b32..9c794e487ba5f4ea9903fdeda83b40ff4b348584 100644 (file)
@@ -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])
 
index b9ff0167057f232a07dbf21eea017036d3a04fd8..96470cc4e1fb54db0e3413b4cf1ebb60647380a3 100644 (file)
@@ -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