diff options
author | Lorenz Diener <[email protected]> | 2016-11-24 21:03:18 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2016-11-24 21:03:18 +0100 |
commit | 2a63df2b63d6339e8b6cf75182271caa745ddf5b (patch) | |
tree | 93ca0091b1eea99f10304ea025d64d0722070454 | |
parent | 2690e0f8ebdc5f4af5b8634919f5e6bc1da0e6d7 (diff) | |
download | mastodon.py-2a63df2b63d6339e8b6cf75182271caa745ddf5b.tar.gz |
Update README.rst
-rw-r--r-- | README.rst | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,6 +1,6 @@ | |||
1 | Mastodon.py | 1 | Mastodon.py |
2 | =========== | 2 | =========== |
3 | .. code-block:: | 3 | .. code-block:: python |
4 | 4 | ||
5 | mastodon = Mastodon( | 5 | mastodon = Mastodon( |
6 | client_id = 'pytooter_clientcred.txt', | 6 | client_id = 'pytooter_clientcred.txt', |
@@ -11,6 +11,16 @@ Mastodon.py | |||
11 | Python wrapper for the Mastodon ( https://github.com/Gargron/mastodon/ ) API. | 11 | Python wrapper for the Mastodon ( https://github.com/Gargron/mastodon/ ) API. |
12 | Feature complete for public API version v1 and easy to get started with. | 12 | Feature complete for public API version v1 and easy to get started with. |
13 | 13 | ||
14 | You can install Mastodon.py via pypi: | ||
15 | |||
16 | .. code-block:: Bash | ||
17 | |||
18 | # Python 2 | ||
19 | pip install Mastodon.py | ||
20 | |||
21 | # Python 3 | ||
22 | pip3 install Mastodon.py | ||
23 | |||
14 | Full documentation and basic "how to post a toot" usage example can be found | 24 | Full documentation and basic "how to post a toot" usage example can be found |
15 | at http://mastodonpy.readthedocs.io/en/latest/ . | 25 | at http://mastodonpy.readthedocs.io/en/latest/ . |
16 | 26 | ||