Skip to main content

Python Client For Twitter Streaming API v2

Project description

twitter-stream.py

Quickstart

import json
from twitter_stream import FilteredStream

if __name__ == "__main__":
    filter_stream = FilteredStream()
    for data in filter_stream.connect():
        print(json.dumps(data, indent=4, sort_keys=True))

Installation

~$ pip3 install twitter-stream.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

twitter-stream.py-0.1.1.tar.gz (2.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page