aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index 779af96..39923b9 100644
--- a/README.rst
+++ b/README.rst
@@ -1,16 +1,18 @@
1Mastodon.py 1Mastodon.py
2=========== 2===========
3Register your app! This only needs to be done once. 3Register your app! This only needs to be done once. Uncomment the code and substitute in your information.
4 4
5.. code-block:: python 5.. code-block:: python
6 6
7 from mastodon import Mastodon 7 from mastodon import Mastodon
8 8
9 '''
9 Mastodon.create_app( 10 Mastodon.create_app(
10 'pytooterapp', 11 'pytooterapp',
11 api_base_url = 'https://mastodon.social', 12 api_base_url = 'https://mastodon.social',
12 to_file = 'pytooter_clientcred.secret' 13 to_file = 'pytooter_clientcred.secret'
13 ) 14 )
15 '''
14 16
15Then login. This can be done every time, or use persisted. 17Then login. This can be done every time, or use persisted.
16 18
Powered by cgit v1.2.3 (git 2.41.0)