From 23e796bab4e19348d77a94cbcd27cd3539838cc5 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Wed, 26 Apr 2017 13:24:27 +0200 Subject: Fixed follows docs --- docs/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/index.rst b/docs/index.rst index bad52d2..166b51e 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -238,7 +238,6 @@ their relationships. .. automethod:: Mastodon.account_statuses .. automethod:: Mastodon.account_following .. automethod:: Mastodon.account_followers -.. automethod:: Mastodon.follows .. automethod:: Mastodon.account_relationships .. automethod:: Mastodon.account_search @@ -289,7 +288,8 @@ Writing data: Accounts These functions allow you to interact with other accounts: To (un)follow and (un)block. -.. automethod:: Mastodon.account_follow +.. automethod:: Mastodon.account_follow +.. automethod:: Mastodon.follows .. automethod:: Mastodon.account_unfollow .. automethod:: Mastodon.account_block .. automethod:: Mastodon.account_unblock -- cgit v1.2.3 From 9766171729a18dd4ee28f09f2dfc150354dfcdc8 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Wed, 26 Apr 2017 13:31:06 +0200 Subject: Changed example to use .secret instead of .txt --- docs/index.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs') 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 ''' Mastodon.create_app( 'pytooterapp', - to_file = 'pytooter_clientcred.txt' + to_file = 'pytooter_clientcred.secret' ) ''' # Log in - either every time, or use persisted ''' - mastodon = Mastodon(client_id = 'pytooter_clientcred.txt') + mastodon = Mastodon(client_id = 'pytooter_clientcred.secret') mastodon.log_in( 'my_login_email@example.com', 'incrediblygoodpassword', - to_file = 'pytooter_usercred.txt' + to_file = 'pytooter_usercred.secret' ) ''' # Create actual instance mastodon = Mastodon( - client_id = 'pytooter_clientcred.txt', - access_token = 'pytooter_usercred.txt' + client_id = 'pytooter_clientcred.secret', + access_token = 'pytooter_usercred.secret' ) mastodon.toot('Tooting from python!') -- cgit v1.2.3