Update docs with access token only constructor

This commit is contained in:
Lorenz Diener 2018-06-05 17:58:13 +02:00
parent b08c05e6de
commit 3209c468d5
2 changed files with 1 additions and 3 deletions

View File

@ -28,14 +28,13 @@ Mastodon.py
# Create actual API instance
mastodon = Mastodon(
client_id = 'pytooter_clientcred.secret',
access_token = 'pytooter_usercred.secret',
api_base_url = 'https://mastodon.social'
)
mastodon.toot('Tooting from python using #mastodonpy !')
Python wrapper for the Mastodon ( https://github.com/tootsuite/mastodon/ ) API.
Feature complete for public API as of Mastodon version 2.2.0 and easy to get started with.
Feature complete for public API as of Mastodon version 2.4.0 and easy to get started with.
You can install Mastodon.py via pypi:

View File

@ -31,7 +31,6 @@ Mastodon.py
# Create actual API instance
mastodon = Mastodon(
client_id = 'pytooter_clientcred.secret',
access_token = 'pytooter_usercred.secret',
api_base_url = 'https://mastodon.social'
)