From 2a63df2b63d6339e8b6cf75182271caa745ddf5b Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Thu, 24 Nov 2016 21:03:18 +0100 Subject: [PATCH] Update README.rst --- README.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 112d032..2d51698 100644 --- a/README.rst +++ b/README.rst @@ -1,6 +1,6 @@ Mastodon.py =========== -.. code-block:: +.. code-block:: python mastodon = Mastodon( client_id = 'pytooter_clientcred.txt', @@ -11,6 +11,16 @@ Mastodon.py Python wrapper for the Mastodon ( https://github.com/Gargron/mastodon/ ) API. 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 at http://mastodonpy.readthedocs.io/en/latest/ .