diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -1,5 +1,14 @@ | |||
1 | # Mastodon.py | 1 | # Mastodon.py |
2 | |||
3 | mastodon = Mastodon( | ||
4 | client_id = 'pytooter_clientcred.txt', | ||
5 | access_token = 'pytooter_usercred.txt' | ||
6 | ) | ||
7 | mastodon.toot('Tooting from python!') | ||
8 | |||
9 | |||
2 | Python wrapper for the Mastodon ( https://github.com/Gargron/mastodon/ ) API. | 10 | Python wrapper for the Mastodon ( https://github.com/Gargron/mastodon/ ) API. |
3 | 11 | ||
4 | Media uploads currently broken, will be fixed Soon. Documentation and usage examples also | 12 | Full documentation and usage example can be found at http://mastodonpy.readthedocs.io/en/latest/ . |
5 | incoming, but the code is heavily commented and usage frankly rather self-explanatory. | 13 | |
14 | Media uploads currently broken, will be fixed Soon. | ||