Readme is now ACTUALLY rst
This commit is contained in:
pare
ce4f2e64fc
commit
2690e0f8eb
S'han modificat 1 arxius amb 8 adicions i 7 eliminacions
15
README.rst
15
README.rst
|
@ -1,11 +1,12 @@
|
||||||
# Mastodon.py
|
Mastodon.py
|
||||||
|
===========
|
||||||
mastodon = Mastodon(
|
.. code-block::
|
||||||
client_id = 'pytooter_clientcred.txt',
|
|
||||||
access_token = 'pytooter_usercred.txt'
|
|
||||||
)
|
|
||||||
mastodon.toot('Tooting from python!')
|
|
||||||
|
|
||||||
|
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.
|
||||||
Feature complete for public API version v1 and easy to get started with.
|
Feature complete for public API version v1 and easy to get started with.
|
||||||
|
|
Loading…
Referencia en una nova incidència