aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-06-05 17:58:13 +0200
committerLorenz Diener <[email protected]>2018-06-05 17:58:13 +0200
commit3209c468d519185836a5aed7b37911c6672272d6 (patch)
tree25fe09d5ca9dfa54c9662321ff747e9661a79f66
parentb08c05e6de786b5fc0dc3189e73b6192e6e198b6 (diff)
downloadmastodon.py-3209c468d519185836a5aed7b37911c6672272d6.tar.gz
Update docs with access token only constructor
-rw-r--r--README.rst3
-rw-r--r--docs/index.rst1
2 files changed, 1 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index 58fb9a9..86a90e8 100644
--- a/README.rst
+++ b/README.rst
@@ -28,14 +28,13 @@ Mastodon.py
28 28
29 # Create actual API instance 29 # Create actual API instance
30 mastodon = Mastodon( 30 mastodon = Mastodon(
31 client_id = 'pytooter_clientcred.secret',
32 access_token = 'pytooter_usercred.secret', 31 access_token = 'pytooter_usercred.secret',
33 api_base_url = 'https://mastodon.social' 32 api_base_url = 'https://mastodon.social'
34 ) 33 )
35 mastodon.toot('Tooting from python using #mastodonpy !') 34 mastodon.toot('Tooting from python using #mastodonpy !')
36 35
37Python wrapper for the Mastodon ( https://github.com/tootsuite/mastodon/ ) API. 36Python wrapper for the Mastodon ( https://github.com/tootsuite/mastodon/ ) API.
38Feature complete for public API as of Mastodon version 2.2.0 and easy to get started with. 37Feature complete for public API as of Mastodon version 2.4.0 and easy to get started with.
39 38
40You can install Mastodon.py via pypi: 39You can install Mastodon.py via pypi:
41 40
diff --git a/docs/index.rst b/docs/index.rst
index fc8c003..eaedd78 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -31,7 +31,6 @@ Mastodon.py
31 31
32 # Create actual API instance 32 # Create actual API instance
33 mastodon = Mastodon( 33 mastodon = Mastodon(
34 client_id = 'pytooter_clientcred.secret',
35 access_token = 'pytooter_usercred.secret', 34 access_token = 'pytooter_usercred.secret',
36 api_base_url = 'https://mastodon.social' 35 api_base_url = 'https://mastodon.social'
37 ) 36 )
Powered by cgit v1.2.3 (git 2.41.0)