1# Copyright (C) 2009-2020, Joshua Roesslein
2# This file is distributed under the same license as the Tweepy package.
3msgid ""
4msgstr ""
5"Project-Id-Version: Tweepy-pl\n"
6"Report-Msgid-Bugs-To: \n"
7"POT-Creation-Date: 2020-01-14 14:12+0100\n"
8"PO-Revision-Date: 2020-01-19 09:28+0100\n"
9"Last-Translator: krzysztofturtle <hk19k93jj@gmail.com>\n"
10"Language: pl\n"
11"Language-Team: \n"
12"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && "
13"(n%100<10 || n%100>=20) ? 1 : 2)\n"
14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n"
17"Generated-By: Babel 2.8.0\n"
18"X-Generator: POEditor.com\n"
19
20#: ../../streaming_how_to.rst:8
21msgid "Streaming With Tweepy"
22msgstr "Przesyłanie strumieniowe z Tweepy"
23
24#: ../../streaming_how_to.rst:9
25msgid "Tweepy makes it easier to use the twitter streaming api by handling authentication, connection, creating and destroying the session, reading incoming messages, and partially routing messages."
26msgstr "Tweepy ułatwia używanie API Twittera do przesyłania strumieniowego poprzez obsługę uwierzytelniania i połączenia, tworzenia i niszczenia nadchodzących wiadomości oraz częściowe przekierowywanie wiadomości."
27
28#: ../../streaming_how_to.rst:13
29msgid "This page aims to help you get started using Twitter streams with Tweepy by offering a first walk through.  Some features of Tweepy streaming are not covered here. See streaming.py in the Tweepy source code."
30msgstr "Celem tej strony jest objaśnienie pierwszych kroków na temat rozpoczęcia  przesyłania strumieniowego Twittera używając Tweepy. Niektóre funkcje przesyłania strumieniowego Tweepy nie są tu wyjaśnione. Po więcej informacji sprawdź streaming.py w kodzie źródłowym Tweepy."
31
32#: ../../streaming_how_to.rst:17
33msgid "API authorization is required to access Twitter streams. Follow the :ref:`auth_tutorial` if you need help with authentication."
34msgstr "Uwierzytelnienie API jest wymagane by uzyskać dostęp do strumienia Twittera. Sprawdź :ref:`auth_tutorial` jeżeli potrzebujesz pomocy z uwierzytelnianiem."
35
36#: ../../streaming_how_to.rst:21
37msgid "Summary"
38msgstr "Podsumowanie"
39
40#: ../../streaming_how_to.rst:22
41msgid "The Twitter streaming API is used to download twitter messages in real time.  It is useful for obtaining a high volume of tweets, or for creating a live feed using a site stream or user stream. See the `Twitter Streaming API Documentation`_."
42msgstr "API przesyłania strumieniowego Twittera jest używane do pobierania wiadomości z Twittera w czasie rzeczywistym. Jest to przydatne do zdobywania dużej ilości tweetów lub do tworzenia przekazu na żywo używając strumienia strony lub strumienia użytkownika. Zobacz `Dokumentację API przesyłania strumieniowego Twittera`_."
43
44#: ../../streaming_how_to.rst:27
45msgid "The streaming api is quite different from the REST api because the REST api is used to *pull* data from twitter but the streaming api *pushes* messages to a persistent session. This allows the streaming api to download more data in real time than could be done using the REST API."
46msgstr "API przesyłania strumieniowego różni się od REST API ponieważ REST API używane jest do *ściągania* danych z Twittera a API przesyłania strumieniowego *wypycha* wiadomości do trwałej sesji. Pozwala to API przesyłania strumieniowego do pobrania większej ilości danych w czasie rzeczywistym niż jest to możliwe używając REST API."
47
48#: ../../streaming_how_to.rst:33
49msgid "In Tweepy, an instance of **tweepy.Stream** establishes a streaming session and routes messages to **StreamListener** instance.  The **on_data** method of a stream listener receives all messages and calls functions according to the message type. The default **StreamListener** can classify most common twitter messages and routes them to appropriately named methods, but these methods are only stubs."
50msgstr "W Tweepy, instancja **tweepy.Stream** ustanawia sesję przesyłania strumieniowego i przekierowywuje wiadomości do instancji **StreamListener**. Metoda **on_data** odbiornika strumienia otrzymuje wszystkie wiadomości i nazywa funkcje według typu wiadomości. Domyślny **StreamListener** może sklasyfikować większość prostych wiadomości z Twittera i przekierować je do odpowiednio nazwanych metod, jednak metody te są tylko pniami."
51
52#: ../../streaming_how_to.rst:41
53msgid "Therefore using the streaming api has three steps."
54msgstr "Używanie API przesyłania strumieniowego zawiera się w trzech krokach."
55
56#: ../../streaming_how_to.rst:43
57msgid "Create a class inheriting from **StreamListener**"
58msgstr "Utwórz klasę dziedziczącą od **StreamListener**"
59
60#: ../../streaming_how_to.rst:45
61msgid "Using that class create a **Stream** object"
62msgstr "Używając tej klasy stwórz obiekt **Stream**"
63
64#: ../../streaming_how_to.rst:47
65msgid "Connect to the Twitter API using the **Stream**."
66msgstr "Połącz się z Twitter API używając **Stream**."
67
68#: ../../streaming_how_to.rst:51
69msgid "Step 1: Creating a **StreamListener**"
70msgstr "Krok 1: Tworzenie  **StreamListener**"
71
72#: ../../streaming_how_to.rst:52
73msgid "This simple stream listener prints status text. The **on_data** method of Tweepy's **StreamListener** conveniently passes data from statuses to the **on_status** method. Create class **MyStreamListener** inheriting from  **StreamListener** and overriding **on_status**.::"
74msgstr "Ten prosty odbiornik strumienia wyświetla tekst statusu. Metoda **on_data** używana przez **StreamListener** Tweepy wygodnie przekazuje dane ze statuu do metody **on_status**. Stwórz klasę **MyStreamListener* dziedziczącą od **StreamListener** i nadpisującą **on_status**.::"
75
76#: ../../streaming_how_to.rst:65
77msgid "Step 2: Creating a **Stream**"
78msgstr "Krok 2: Tworzenie **Stream**"
79
80#: ../../streaming_how_to.rst:66
81msgid "We need an api to stream. See :ref:`auth_tutorial` to learn how to get an api object. Once we have an api and a status listener we can create our stream object.::"
82msgstr "Do przesyłania strumieniowego potrzebne jest API. Zajrzyj do :ref:`auth_tutorial` by dowiedzieć się jak zdobyć obiekt API. Gdy masz już API oraz odbiornik statusu, możesz stworzyć własny obiekt strumienia.::"
83
84#: ../../streaming_how_to.rst:73
85msgid "Step 3: Starting a Stream"
86msgstr "Krok 3: Uruchamianie strumienia"
87
88#: ../../streaming_how_to.rst:74
89msgid "A number of twitter streams are available through Tweepy. Most cases will use filter, the user_stream, or the sitestream. For more information on the capabilities and limitations of the different streams see `Twitter Streaming API Documentation`_."
90msgstr "W Tweepy dostępne są różne strumienie Twittera. W większości przypadków będą one używać filtrów user_stream lub sitestream. Po więcej informacji na temat możliwości i ograniczeń poszczególnych strumieni zajrzyj do `Dokumentacji API przesyłania strumieniowego Twittera`_."
91
92#: ../../streaming_how_to.rst:79
93msgid "In this example we will use **filter** to stream all tweets containing the word *python*. The **track** parameter is an array of search terms to stream. ::"
94msgstr "W tym przykładzie użyty zostanie **filter** do przesłania strumieniowego wszystkich tweetów zawierających słowo *python*. Parametr *track* jest szykiem wyszukiwanych pojęć. ::"
95
96#: ../../streaming_how_to.rst:84
97msgid "This example shows how to use **filter** to stream tweets by a specific user. The **follow** parameter is an array of IDs. ::"
98msgstr "W tym przykładzie pokazane zostanie jak użyć **filter** do przesyłania strumieniowego tweetów wybranego użytkownika. Parametr **follow** jest szykiem zawierającym ID. ::"
99
100#: ../../streaming_how_to.rst:88
101msgid "An easy way to find a single ID is to use one of the many conversion websites: search for 'what is my twitter ID'."
102msgstr "Prostym sposobem na znalezienie pojedyńczego ID jest użycie jednej z wielu stron internetowych do konwersji: szukaj 'jakie jest moje twitter ID'."
103
104#: ../../streaming_how_to.rst:91
105msgid "A Few More Pointers"
106msgstr "Kilka innych wskaźników"
107
108#: ../../streaming_how_to.rst:94
109msgid "Async Streaming"
110msgstr "Przesyłanie strumieniowe asynchroniczne"
111
112#: ../../streaming_how_to.rst:95
113msgid "Streams do not terminate unless the connection is closed, blocking the thread. Tweepy offers a convenient **is_async** parameter on **filter** so the stream will run on a new thread. For example ::"
114msgstr "Strumienie nie zatrzymują się dopóki połączenie nie zostanie zamknięte, co zablokuje nić. Tweepy oferuje wygodny parametr **is_async** w **filter** co pozwala strumieniowi działać na nowej nici. Na przykład: ::"
115
116#: ../../streaming_how_to.rst:102
117msgid "Handling Errors"
118msgstr "Obsługa błędów"
119
120#: ../../streaming_how_to.rst:103
121msgid "When using Twitter's streaming API one must be careful of the dangers of rate limiting. If clients exceed a limited number of attempts to connect to the streaming API in a window of time, they will receive error 420.  The amount of time a client has to wait after receiving error 420 will increase exponentially each time they make a failed attempt."
122msgstr "Używając API przesyłania strumieniowego Twittera należy być świadomym niebezpieczeństw związanych z limitowaniem współczynników. Jeżeli klient przekroczy liczbę prób połqczenia w określonym czasie z API przesyłania strumieniowego to zwrócony zostanie błąd 420. Czas oczekiwania na ponowną próbę połączenia po otrzymaniu błędu 420 będzie gwałtownie zwiększał się za każdą kolejną nieudaną próbą."
123
124#: ../../streaming_how_to.rst:108
125msgid "Tweepy's **Stream Listener** passes error codes to an **on_error** stub. The default implementation returns **False** for all codes, but we can override it to allow Tweepy to reconnect for some or all codes, using the backoff strategies recommended in the `Twitter Streaming API Connecting Documentation`_. ::"
126msgstr "**Stream Listener** Tweepy przekazuje kod błędu do pnia **on_error**. Domyślne ustawienie zwraca **False** dla wszytkich kodów, jednak możliwe jest nadpisanie ustawień tak by umożliwiły one Tweepy ponowne połączenie się po otrzymaniu części lub wszystkich kodów. Możliwe jest to używając strategii rekomendowanych w `Dokumentacji łączenia z API przesyłania strumieniowego Twittera`_.::"
127
128#: ../../streaming_how_to.rst:123
129msgid "For more information on error codes from the Twitter API see `Twitter Response Codes Documentation`_."
130msgstr "Po więcej informacji na temat kodów błędów z API Twittera zajrzyj do `Dokumentacji kodów odpowiedzi Twittera`_."
131
132