pull/1/head
Lorenz Diener 2016-11-24 03:07:07 +01:00
rodzic 04406738f2
commit d47b079a04
2 zmienionych plików z 13 dodań i 3 usunięć

Wyświetl plik

@ -1,5 +1,14 @@
# Mastodon.py # Mastodon.py
mastodon = Mastodon(
client_id = 'pytooter_clientcred.txt',
access_token = 'pytooter_usercred.txt'
)
mastodon.toot('Tooting from python!')
Python wrapper for the Mastodon ( https://github.com/Gargron/mastodon/ ) API. Python wrapper for the Mastodon ( https://github.com/Gargron/mastodon/ ) API.
Media uploads currently broken, will be fixed Soon. Documentation and usage examples also Full documentation and usage example can be found at http://mastodonpy.readthedocs.io/en/latest/ .
incoming, but the code is heavily commented and usage frankly rather self-explanatory.
Media uploads currently broken, will be fixed Soon.

Wyświetl plik

@ -118,7 +118,8 @@ Writing data: Media
------------------- -------------------
This function allows you to upload media to Mastodon. Except it This function allows you to upload media to Mastodon. Except it
doesn't, because it is currently broken. But it will. doesn't, because it is currently broken. But it will.
.. automethod:: media_post
.. automethod:: Mastodon.media_post
.. _Mastodon: https://github.com/Gargron/mastodon .. _Mastodon: https://github.com/Gargron/mastodon
.. _Mastodon flagship instance: http://mastodon.social/ .. _Mastodon flagship instance: http://mastodon.social/