Skip to content

Commit

Permalink
Docs linked
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorenz Diener committed Nov 24, 2016
1 parent 0440673 commit d47b079
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# 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.

Media uploads currently broken, will be fixed Soon. Documentation and usage examples also
incoming, but the code is heavily commented and usage frankly rather self-explanatory.
Full documentation and usage example can be found at http://mastodonpy.readthedocs.io/en/latest/ .

Media uploads currently broken, will be fixed Soon.
3 changes: 2 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ Writing data: Media
-------------------
This function allows you to upload media to Mastodon. Except it
doesn't, because it is currently broken. But it will.
.. automethod:: media_post

.. automethod:: Mastodon.media_post

.. _Mastodon: https://github.com/Gargron/mastodon
.. _Mastodon flagship instance: http://mastodon.social/
Expand Down

0 comments on commit d47b079

Please sign in to comment.