Update README.rst
This commit is contained in:
pare
2690e0f8eb
commit
2a63df2b63
12
README.rst
12
README.rst
|
@ -1,6 +1,6 @@
|
||||||
Mastodon.py
|
Mastodon.py
|
||||||
===========
|
===========
|
||||||
.. code-block::
|
.. code-block:: python
|
||||||
|
|
||||||
mastodon = Mastodon(
|
mastodon = Mastodon(
|
||||||
client_id = 'pytooter_clientcred.txt',
|
client_id = 'pytooter_clientcred.txt',
|
||||||
|
@ -11,6 +11,16 @@ Mastodon.py
|
||||||
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.
|
||||||
|
|
||||||
|
You can install Mastodon.py via pypi:
|
||||||
|
|
||||||
|
.. code-block:: Bash
|
||||||
|
|
||||||
|
# Python 2
|
||||||
|
pip install Mastodon.py
|
||||||
|
|
||||||
|
# Python 3
|
||||||
|
pip3 install Mastodon.py
|
||||||
|
|
||||||
Full documentation and basic "how to post a toot" usage example can be found
|
Full documentation and basic "how to post a toot" usage example can be found
|
||||||
at http://mastodonpy.readthedocs.io/en/latest/ .
|
at http://mastodonpy.readthedocs.io/en/latest/ .
|
||||||
|
|
||||||
|
|
Loading…
Referencia en una nova incidència