aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2016-11-25 23:28:30 +0100
committerLorenz Diener <[email protected]>2016-11-25 23:28:30 +0100
commit69f78773a05666430c93eac5ef2eead7f648cc09 (patch)
tree3be8b01140f8bfa52dd70972ac1c243fb97a2959 /docs
parent3ce225dbeff8dc81539108cad376c0ab7db2125f (diff)
downloadmastodon.py-69f78773a05666430c93eac5ef2eead7f648cc09.tar.gz
Requirement and documentation fixes
Diffstat (limited to 'docs')
-rw-r--r--docs/index.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 02676a4..5e893fe 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -41,9 +41,10 @@ node running Mastodon.
41 41
42A note about rate limits 42A note about rate limits
43------------------------ 43------------------------
44Mastodons API rate limits per IP. Mastodon.py has three modes for dealing 44Mastodons API rate limits per IP. By default, the limit is 150 requests per 5 minute
45with rate limiting that you can pass to the constructor, "throw", "wait" 45time slow. This can differ from instance to instance and is subject to change.
46and "pace", "wait" being the default. 46Mastodon.py has three modes for dealing with rate limiting that you can pass to
47the constructor, "throw", "wait" and "pace", "wait" being the default.
47 48
48In "throw" mode, Mastodon.py makes no attempt to stick to rate limits. When 49In "throw" mode, Mastodon.py makes no attempt to stick to rate limits. When
49a request hits the rate limit, it simply throws a MastodonRateLimitError. This is 50a request hits the rate limit, it simply throws a MastodonRateLimitError. This is
Powered by cgit v1.2.3 (git 2.41.0)