Add models reference documentation for API v1.1
authorHarmon <Harmon758@gmail.com>
Tue, 27 Apr 2021 16:28:21 +0000 (11:28 -0500)
committerHarmon <Harmon758@gmail.com>
Tue, 27 Apr 2021 16:28:21 +0000 (11:28 -0500)
docs/models.rst

index 129c03f8c9be8da7ec8e9c0c5f1283a23db463a5..76489014724911f3f9397c48ad5ae75322404f42 100644 (file)
@@ -6,6 +6,53 @@
 Models Reference
 ****************
 
+API v1.1
+========
+
+.. class:: tweepy.models.BoundingBox
+
+   :reference: https://developer.twitter.com/en/docs/twitter-api/v1/data-dictionary/object-model/geo#bounding-box
+
+.. class:: tweepy.models.DirectMessage
+
+   :reference: https://developer.twitter.com/en/docs/twitter-api/v1/direct-messages/sending-and-receiving/guides/message-create-object
+
+.. class:: tweepy.models.Friendship
+
+   :reference: https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friendships-show#example-response
+
+.. class:: tweepy.models.List
+
+   :reference: https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/create-manage-lists/api-reference/get-lists-show#example-response
+
+.. class:: tweepy.models.Media
+
+   :reference: https://developer.twitter.com/en/docs/twitter-api/v1/data-dictionary/object-model/entities#media
+
+.. class:: tweepy.models.Place
+
+   :reference: https://developer.twitter.com/en/docs/twitter-api/v1/data-dictionary/object-model/geo#place
+
+.. class:: tweepy.models.Relationship
+
+   :reference: https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/get-friendships-lookup#example-response
+
+.. class:: tweepy.models.SearchResults
+
+   :reference: https://developer.twitter.com/en/docs/twitter-api/v1/tweets/search/api-reference/get-search-tweets#example-response
+
+.. class:: tweepy.models.SavedSearch
+
+   :reference: https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/manage-account-settings/api-reference/get-saved_searches-show-id#example-response
+
+.. class:: tweepy.models.Status
+
+   :reference: https://developer.twitter.com/en/docs/twitter-api/v1/data-dictionary/object-model/tweet
+
+.. class:: tweepy.models.User
+
+   :reference: https://developer.twitter.com/en/docs/twitter-api/v1/data-dictionary/object-model/user
+
 API v2
 ======