aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.rst24
1 files changed, 12 insertions, 12 deletions
diff --git a/README.rst b/README.rst
index bd1522a..4801a8c 100644
--- a/README.rst
+++ b/README.rst
@@ -6,7 +6,7 @@ Feature complete for public API as of Mastodon version 3.0.1 (pypi) / 3.3.0 (cur
6.. code-block:: python 6.. code-block:: python
7 7
8 # Register your app! This only needs to be done once. Uncomment the code and substitute in your information. 8 # Register your app! This only needs to be done once. Uncomment the code and substitute in your information.
9 9
10 from mastodon import Mastodon 10 from mastodon import Mastodon
11 11
12 ''' 12 '''
@@ -20,7 +20,7 @@ Feature complete for public API as of Mastodon version 3.0.1 (pypi) / 3.3.0 (cur
20 # Then login. This can be done every time, or use persisted. 20 # Then login. This can be done every time, or use persisted.
21 21
22 from mastodon import Mastodon 22 from mastodon import Mastodon
23 23
24 mastodon = Mastodon(client_id = 'pytooter_clientcred.secret') 24 mastodon = Mastodon(client_id = 'pytooter_clientcred.secret')
25 mastodon.log_in( 25 mastodon.log_in(
26 '[email protected]', 26 '[email protected]',
@@ -31,32 +31,32 @@ Feature complete for public API as of Mastodon version 3.0.1 (pypi) / 3.3.0 (cur
31 # To post, create an actual API instance. 31 # To post, create an actual API instance.
32 32
33 from mastodon import Mastodon 33 from mastodon import Mastodon
34 34
35 mastodon = Mastodon(access_token = 'pytooter_usercred.secret') 35 mastodon = Mastodon(access_token = 'pytooter_usercred.secret')
36 mastodon.toot('Tooting from python using #mastodonpy !') 36 mastodon.toot('Tooting from Python using #mastodonpy !')
37 37
38You can install Mastodon.py via pypi: 38You can install Mastodon.py via pypi:
39 39
40.. code-block:: Bash 40.. code-block:: Bash
41 41
42 # Python 3 42 # Python 3
43 pip3 install Mastodon.py 43 pip3 install Mastodon.py
44 44
45Note that python 2.7 is now no longer officially supported. It will still 45Note that Python 2.7 is now no longer officially supported. It will still
46work for a while, and we will fix issues as they come up, but we will not 46work for a while, and we will fix issues as they come up, but we will not
47be testing specifically for python 2.7 any longer. 47be testing specifically for Python 2.7 any longer.
48 48
49Full documentation and basic usage examples can be found 49Full documentation and basic usage examples can be found
50at http://mastodonpy.readthedocs.io/en/stable/ . 50at https://mastodonpy.readthedocs.io/en/stable/
51 51
52Acknowledgements 52Acknowledgements
53---------------- 53----------------
54Mastodon.py contains work by a large amount of contributors, many of which have 54Mastodon.py contains work by a large amount of contributors, many of which have
55put significant work into making it a better library. You can find some information 55put significant work into making it a better library. You can find some information
56about who helped with which particular feature or fix in the changelog. 56about who helped with which particular feature or fix in the changelog.
57 57
58.. image:: https://circleci.com/gh/halcy/Mastodon.py.svg?style=svg 58.. image:: https://circleci.com/gh/halcy/Mastodon.py.svg?style=svg
59 :target: https://app.circleci.com/pipelines/github/halcy/Mastodon.py 59 :target: https://app.circleci.com/pipelines/github/halcy/Mastodon.py
60.. image:: https://codecov.io/gh/halcy/Mastodon.py/branch/master/graph/badge.svg 60.. image:: https://codecov.io/gh/halcy/Mastodon.py/branch/master/graph/badge.svg
61 :target: https://codecov.io/gh/halcy/Mastodon.py 61 :target: https://codecov.io/gh/halcy/Mastodon.py
62 62
Powered by cgit v1.2.3 (git 2.41.0)