Update 10_streaming.rst (auth needed)

Since mastodon 4.2.0 the support for anonymous streaming API access was dropped. Change docs accordingly.
pull/366/head
Leah Oswald 2024-01-19 19:59:42 +01:00 zatwierdzone przez GitHub
rodzic cd86887d88
commit 2de6826c50
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -3,8 +3,8 @@ Streaming
.. py:module:: mastodon
.. py:class: Mastodon
These functions allow access to the streaming API. For the public, local and hashtag streams,
access is generally possible without authenticating.
These functions allow access to the streaming API. Since Mastodon v4.2.0 the support for anonymous streaming api access was dropped.
You need to generate an access token now.
If `run_async` is False, these methods block forever (or until an error is encountered).
@ -72,4 +72,4 @@ StreamListener
CallbackStreamListener
~~~~~~~~~~~~~~~~~~~~~~
.. autoclass:: CallbackStreamListener
.. autoclass:: CallbackStreamListener