From 78a0c22fb67ca3d190e9dd95baab142aa2960ff9 Mon Sep 17 00:00:00 2001 From: Harmon Date: Tue, 27 Apr 2021 11:28:21 -0500 Subject: [PATCH] Add models reference documentation for API v1.1 --- docs/models.rst | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/docs/models.rst b/docs/models.rst index 129c03f..7648901 100644 --- a/docs/models.rst +++ b/docs/models.rst @@ -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 ====== -- 2.25.1