Update docs with access token only constructor

This commit is contained in:
Lorenz Diener 2018-06-05 17:58:13 +02:00
pare b08c05e6de
commit 3209c468d5
S'han modificat 2 arxius amb 1 adicions i 3 eliminacions

Veure arxiu

@ -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:

Veure arxiu

@ -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'
)