diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/index.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/index.rst b/docs/index.rst index c59940d..09808ac 100644 --- a/docs/index.rst +++ b/docs/index.rst | |||
@@ -18,11 +18,13 @@ Mastodon.py | |||
18 | 18 | ||
19 | # Log in - either every time, or use persisted | 19 | # Log in - either every time, or use persisted |
20 | ''' | 20 | ''' |
21 | mastodon = Mastodon(client_id = 'pytooter_clientcred.secret') | 21 | mastodon = Mastodon( |
22 | client_id = 'pytooter_clientcred.secret', | ||
23 | api_base_url = 'https://mastodon.social' | ||
24 | ) | ||
22 | mastodon.log_in( | 25 | mastodon.log_in( |
23 | '[email protected]', | 26 | '[email protected]', |
24 | 'incrediblygoodpassword', | 27 | 'incrediblygoodpassword', |
25 | api_base_url = 'https://mastodon.social', | ||
26 | to_file = 'pytooter_usercred.secret' | 28 | to_file = 'pytooter_usercred.secret' |
27 | ) | 29 | ) |
28 | ''' | 30 | ''' |