diff options
-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 | ||