Document account creation
This commit is contained in:
pare
b6692f0b16
commit
08ba4c88bf
S'han modificat 1 arxius amb 4 adicions i 1 eliminacions
|
@ -671,7 +671,9 @@ App registration and user authentication
|
||||||
Before you can use the mastodon API, you have to register your
|
Before you can use the mastodon API, you have to register your
|
||||||
application (which gets you a client key and client secret)
|
application (which gets you a client key and client secret)
|
||||||
and then log in (which gets you an access token). These functions
|
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,
|
For convenience, once you have a client id, secret and access token,
|
||||||
you can simply pass them to the constructor of the class, too!
|
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
|
.. automethod:: Mastodon.log_in
|
||||||
.. _auth_request_url():
|
.. _auth_request_url():
|
||||||
.. automethod:: Mastodon.auth_request_url
|
.. automethod:: Mastodon.auth_request_url
|
||||||
|
.. automethod:: Mastodon.create_account
|
||||||
|
|
||||||
Versioning
|
Versioning
|
||||||
----------
|
----------
|
||||||
|
|
Loading…
Referencia en una nova incidència