aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/index.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 09808ac..de14554 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -42,7 +42,8 @@ network node. It has an API that allows you to interact with its
42every aspect. This is a simple python wrapper for that api, provided 42every aspect. This is a simple python wrapper for that api, provided
43as a single python module. By default, it talks to the 43as a single python module. By default, it talks to the
44`Mastodon flagship instance`_, but it can be set to talk to any 44`Mastodon flagship instance`_, but it can be set to talk to any
45node running Mastodon. 45node running Mastodon by setting api_base_url when creating the
46api object (or creating an app).
46 47
47A note about rate limits 48A note about rate limits
48------------------------ 49------------------------
@@ -259,6 +260,11 @@ startup is not, so don't do that - instead, register an application
259once, and then persist your client id and secret. Convenience 260once, and then persist your client id and secret. Convenience
260methods for this are provided. 261methods for this are provided.
261 262
263To talk to an instance different from the flagship instance, specify
264the api_base_url (usually, just the URL of the instance, i.e.
265https://mastodon.social/ for the flagship instance). If no protocol
266is specified, Mastodon.py defaults to https.
267
262.. automethod:: Mastodon.create_app 268.. automethod:: Mastodon.create_app
263.. automethod:: Mastodon.__init__ 269.. automethod:: Mastodon.__init__
264.. automethod:: Mastodon.log_in 270.. automethod:: Mastodon.log_in
Powered by cgit v1.2.3 (git 2.41.0)