Document models
authorHarmon <Harmon758@gmail.com>
Tue, 13 Apr 2021 02:28:42 +0000 (21:28 -0500)
committerHarmon <Harmon758@gmail.com>
Tue, 13 Apr 2021 02:28:42 +0000 (21:28 -0500)
docs/index.rst
docs/models.rst [new file with mode: 0644]

index 87a62cbec577a33428cd0876c7def8816de99d75..279cd8de32d17844dfa5639bdfbbc498cff67706 100644 (file)
@@ -18,6 +18,7 @@ Contents:
    cursor_tutorial.rst
    api.rst
    client.rst
+   models.rst
    stream.rst
    exceptions.rst
    extended_tweets.rst
diff --git a/docs/models.rst b/docs/models.rst
new file mode 100644 (file)
index 0000000..129c03f
--- /dev/null
@@ -0,0 +1,34 @@
+.. _models_reference:
+
+.. currentmodule:: tweepy
+
+****************
+Models Reference
+****************
+
+API v2
+======
+
+.. class:: Media
+
+   :reference: https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/media
+
+.. class:: Place
+
+   :reference: https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/place
+
+.. class:: Poll
+
+   :reference: https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/poll
+
+.. class:: ReferencedTweet
+
+   :reference: https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/tweet
+
+.. class:: Tweet
+
+   :reference: https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/tweet
+
+.. class:: User
+
+   :reference: https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/user