aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2019-04-28 18:07:25 +0200
committerLorenz Diener <[email protected]>2019-04-28 18:07:25 +0200
commit08ba4c88bf6ab7bc91e55e86edb2c2371d723d97 (patch)
treece5889b139c02cf0ea28eb1fe4f219d8aa4c93e7
parentb6692f0b16820da8388a5445bcfbf464a4648c91 (diff)
downloadmastodon.py-08ba4c88bf6ab7bc91e55e86edb2c2371d723d97.tar.gz
Document account creation
-rw-r--r--docs/index.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 996dee7..d3acc41 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -671,7 +671,9 @@ App registration and user authentication
671Before you can use the mastodon API, you have to register your 671Before you can use the mastodon API, you have to register your
672application (which gets you a client key and client secret) 672application (which gets you a client key and client secret)
673and then log in (which gets you an access token). These functions 673and then log in (which gets you an access token). These functions
674allow you to do those things. 674allow you to do those things. Additionally, it is also possible
675to programmatically register a new user.
676
675For convenience, once you have a client id, secret and access token, 677For convenience, once you have a client id, secret and access token,
676you can simply pass them to the constructor of the class, too! 678you can simply pass them to the constructor of the class, too!
677 679
@@ -693,6 +695,7 @@ is specified, Mastodon.py defaults to https.
693.. automethod:: Mastodon.log_in 695.. automethod:: Mastodon.log_in
694.. _auth_request_url(): 696.. _auth_request_url():
695.. automethod:: Mastodon.auth_request_url 697.. automethod:: Mastodon.auth_request_url
698.. automethod:: Mastodon.create_account
696 699
697Versioning 700Versioning
698---------- 701----------
Powered by cgit v1.2.3 (git 2.41.0)