From 5215c2242dd7b87418a7c10781c2b10b35d86f46 Mon Sep 17 00:00:00 2001 From: halcy Date: Sun, 13 Nov 2022 18:39:56 +0200 Subject: Fix some things in streaming and admin API for 3.3.0 support --- README.rst | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'README.rst') diff --git a/README.rst b/README.rst index 4e442b3..bd1522a 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ Mastodon.py =========== Python wrapper for the Mastodon ( https://github.com/mastodon/mastodon/ ) API. -Feature complete for public API as of Mastodon version 3.0.1 and easy to get started with: +Feature complete for public API as of Mastodon version 3.0.1 (pypi) / 3.3.0 (current master) and easy to get started with: .. code-block:: python @@ -21,10 +21,7 @@ Feature complete for public API as of Mastodon version 3.0.1 and easy to get sta from mastodon import Mastodon - mastodon = Mastodon( - client_id = 'pytooter_clientcred.secret', - api_base_url = 'https://mastodon.social' - ) + mastodon = Mastodon(client_id = 'pytooter_clientcred.secret') mastodon.log_in( 'my_login_email@example.com', 'incrediblygoodpassword', @@ -35,10 +32,7 @@ Feature complete for public API as of Mastodon version 3.0.1 and easy to get sta from mastodon import Mastodon - mastodon = Mastodon( - access_token = 'pytooter_usercred.secret', - api_base_url = 'https://mastodon.social' - ) + mastodon = Mastodon(access_token = 'pytooter_usercred.secret') mastodon.toot('Tooting from python using #mastodonpy !') You can install Mastodon.py via pypi: -- cgit v1.2.3