diff options
author | Lorenz Diener <[email protected]> | 2019-04-28 18:07:25 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-04-28 18:07:25 +0200 |
commit | 08ba4c88bf6ab7bc91e55e86edb2c2371d723d97 (patch) | |
tree | ce5889b139c02cf0ea28eb1fe4f219d8aa4c93e7 /docs | |
parent | b6692f0b16820da8388a5445bcfbf464a4648c91 (diff) | |
download | mastodon.py-08ba4c88bf6ab7bc91e55e86edb2c2371d723d97.tar.gz |
Document account creation
Diffstat (limited to 'docs')
-rw-r--r-- | docs/index.rst | 5 |
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 | |||
671 | Before you can use the mastodon API, you have to register your | 671 | Before you can use the mastodon API, you have to register your |
672 | application (which gets you a client key and client secret) | 672 | application (which gets you a client key and client secret) |
673 | and then log in (which gets you an access token). These functions | 673 | and then log in (which gets you an access token). These functions |
674 | allow you to do those things. | 674 | allow you to do those things. Additionally, it is also possible |
675 | to programmatically register a new user. | ||
676 | |||
675 | For convenience, once you have a client id, secret and access token, | 677 | For convenience, once you have a client id, secret and access token, |
676 | you can simply pass them to the constructor of the class, too! | 678 | you 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 | ||
697 | Versioning | 700 | Versioning |
698 | ---------- | 701 | ---------- |