Updating docs
[ci skip]
This commit is contained in:
parent
8a1b55e343
commit
9f864a341c
6 changed files with 83 additions and 39 deletions
|
|
@ -16,13 +16,13 @@ Setting Up Your Streamer
|
|||
|
||||
Make sure you import ``TwythonStreamer``
|
||||
|
||||
::
|
||||
.. code-block:: python
|
||||
|
||||
from twython import TwythonStreamer
|
||||
|
||||
Now set up how you want to handle the signals.
|
||||
|
||||
::
|
||||
.. code-block:: python
|
||||
|
||||
class MyStreamer(TwythonStreamer):
|
||||
def on_success(self, data):
|
||||
|
|
@ -41,7 +41,7 @@ More signals that you can extend on can be found in the Developer Interface sect
|
|||
Filtering Public Statuses
|
||||
-------------------------
|
||||
|
||||
::
|
||||
.. code-block:: python
|
||||
|
||||
stream = MyStreamer(APP_KEY, APP_SECRET,
|
||||
OAUTH_TOKEN, OAUTH_TOKEN_SECRET)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue