Metadata-Version: 1.0
Name: periscope-firehose
Version: 0.0.7
Summary: Listener for new public Periscope streams
Home-page: UNKNOWN
Author: Anastasis Germanidis
Author-email: agermanidis@gmail.com
License: The MIT License (MIT)

Copyright (c) 2015 Anastasis Germanidis

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Description: # The Periscope Firehose!
        
        Provides a class, `PeriscopeFirehose`, that allows you to listen for new Periscope broadcasts published on Twitter simply by overriding the method `on_broadcast`.
        
        ### Installation
        
        `$ pip install periscope-firehose`
        
        ### Usage
        
        ```python
        from periscope_firehose import PeriscopeFirehose
        
        class MyFirehose(PeriscopeFirehose):
            def on_broadcast(self, broadcast):
                print "New Periscope Broadcast published!"
                print "- id:", broadcast.id
                print "- twitter handle:", broadcast.twitter_screen_name
                print "- status:", broadcast.status
        
        firehose = MyFirehose(TWITTER_CONSUMER_KEY, TWITTER_CONSUMER_SECRET, TWITTER_OAUTH_TOKEN, TWITTER_OAUTH_SECRET)
        firehose.listen()
        ```
        
        Get your Twitter consumer key, consumer secret, oauth token, and oauth secret from the [Twitter Application Management page](https://apps.twitter.com/).
Platform: UNKNOWN
