From 08ba4c88bf6ab7bc91e55e86edb2c2371d723d97 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sun, 28 Apr 2019 18:07:25 +0200 Subject: Document account creation --- docs/index.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs') 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 Before you can use the mastodon API, you have to register your application (which gets you a client key and client secret) and then log in (which gets you an access token). These functions -allow you to do those things. +allow you to do those things. Additionally, it is also possible +to programmatically register a new user. + For convenience, once you have a client id, secret and access token, you can simply pass them to the constructor of the class, too! @@ -693,6 +695,7 @@ is specified, Mastodon.py defaults to https. .. automethod:: Mastodon.log_in .. _auth_request_url(): .. automethod:: Mastodon.auth_request_url +.. automethod:: Mastodon.create_account Versioning ---------- -- cgit v1.2.3