14 líneas
415 B
Markdown
14 líneas
415 B
Markdown
# 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.
|
|
|
|
Full documentation and usage example can be found at http://mastodonpy.readthedocs.io/en/latest/ .
|
|
|
|
Media uploads currently broken, will be fixed Soon.
|