aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/index.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 166b51e..87e6fb5 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -11,24 +11,24 @@ Mastodon.py
11 ''' 11 '''
12 Mastodon.create_app( 12 Mastodon.create_app(
13 'pytooterapp', 13 'pytooterapp',
14 to_file = 'pytooter_clientcred.txt' 14 to_file = 'pytooter_clientcred.secret'
15 ) 15 )
16 ''' 16 '''
17 17
18 # Log in - either every time, or use persisted 18 # Log in - either every time, or use persisted
19 ''' 19 '''
20 mastodon = Mastodon(client_id = 'pytooter_clientcred.txt') 20 mastodon = Mastodon(client_id = 'pytooter_clientcred.secret')
21 mastodon.log_in( 21 mastodon.log_in(
22 '[email protected]', 22 '[email protected]',
23 'incrediblygoodpassword', 23 'incrediblygoodpassword',
24 to_file = 'pytooter_usercred.txt' 24 to_file = 'pytooter_usercred.secret'
25 ) 25 )
26 ''' 26 '''
27 27
28 # Create actual instance 28 # Create actual instance
29 mastodon = Mastodon( 29 mastodon = Mastodon(
30 client_id = 'pytooter_clientcred.txt', 30 client_id = 'pytooter_clientcred.secret',
31 access_token = 'pytooter_usercred.txt' 31 access_token = 'pytooter_usercred.secret'
32 ) 32 )
33 mastodon.toot('Tooting from python!') 33 mastodon.toot('Tooting from python!')
34 34
Powered by cgit v1.2.3 (git 2.41.0)