Documentation for pulsar 0.9.2. For development docs, go here.
The code for this example is located in the examples.tweets.manage
module.
This example uses the streaming capabilities of the HttpClient
to hook into twitter streaming api and send tweets into a processing queue.
examples.tweets.manage.
Twitter
(callable=None, load_config=True, **params)[source]¶This applications requires the following parameters
to be specified in your config.py
file:
twitter_api_key
the Consumer key of your applicationtwitter_api_secret
, the Consumer secrettwitter_access_token
, the application Access tokentwitter_access_secret
, the Access token secrettwitter_stream_filter
, dictionary of parameters for
filtering tweets.Check the twitter stream filter api for further information