Merge pull request #366 from leahoswald/master

Update 10_streaming.rst (auth needed)
master
Lorenz Diener 2024-02-11 13:22:30 +02:00 zatwierdzone przez GitHub
commit ed23668cae
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:module:: mastodon
.. py:class: Mastodon .. py:class: Mastodon
These functions allow access to the streaming API. For the public, local and hashtag streams, These functions allow access to the streaming API. Since Mastodon v4.2.0 the support for anonymous streaming api access was dropped.
access is generally possible without authenticating. You need to generate an access token now.
If `run_async` is False, these methods block forever (or until an error is encountered). If `run_async` is False, these methods block forever (or until an error is encountered).
@ -72,4 +72,4 @@ StreamListener
CallbackStreamListener CallbackStreamListener
~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~
.. autoclass:: CallbackStreamListener .. autoclass:: CallbackStreamListener