Docs linked

This commit is contained in:
Lorenz Diener 2016-11-24 03:07:07 +01:00
parent 04406738f2
commit d47b079a04
2 changed files with 13 additions and 3 deletions

View File

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

View File

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