Update docs with access token only constructor

pull/139/head
Lorenz Diener 2018-06-05 17:58:13 +02:00
rodzic b08c05e6de
commit 3209c468d5
2 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

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

Wyświetl plik

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