Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
How to Access the Twitter Streaming API (with P...
Search
HuPy
September 30, 2015
Technology
1
53
How to Access the Twitter Streaming API (with Python)
HuPy
September 30, 2015
Tweet
Share
More Decks by HuPy
See All by HuPy
Software Summer Internship @Pulilab
hupy
1
49
March 2015 - Intro
hupy
0
26
February 2015 - Intro
hupy
0
83
February 2015 - Text processing tools in Python
hupy
1
85
February 2015 - The Snake and the Real Estate Biz
hupy
0
79
February 2015 - Cookiecutter - standardized project file and directory structure
hupy
0
39
Other Decks in Technology
See All in Technology
こんなところでも(地味に)活躍するImage Modeさんを知ってるかい?- Image Mode for OpenShift -
tsukaman
0
130
[CV勉強会@関東 World Model 読み会] Orbis: Overcoming Challenges of Long-Horizon Prediction in Driving World Models (Mousakhan+, NeurIPS 2025)
abemii
0
130
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
240
Amazon Bedrock Knowledge Basesチャンキング解説!
aoinoguchi
0
140
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
17k
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
210
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.4k
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
Context Engineeringの取り組み
nutslove
0
340
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
6
2.7k
Cosmos World Foundation Model Platform for Physical AI
takmin
0
860
Featured
See All Featured
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
160
Designing Experiences People Love
moore
144
24k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
180
Google's AI Overviews - The New Search
badams
0
900
Accessibility Awareness
sabderemane
0
51
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
53
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
140
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
The Curse of the Amulet
leimatthew05
1
8.5k
Transcript
How to Access the Twitter Streaming API (with Python)
The Tale of to APIs REST • Searching • Tweets
and users • Access limits Streaming • Monitoring • Tweets • Reconnection limits Connect Download Disconnect Process Connect Download Disconnect Process
The Tools of the Trade • dev.twitter.com – API keys
• Requests – urllib.request • Requests Oauthlib • json
Streaming Endpoint Categories • Public – All the tweets (almost)
– Great for text mining • User – Single-user view • Site – Multi-user view
Public Streams • Firehose • Sample • Filter – A
lot like search from the REST – Real time – Relevance is only minimally considered
Example: Filtered Public Stream
Example: Sentiment Analysis
Thank you! Questions? David Toroczkai Budapest.Py, 2015 September
[email protected]
david.toroczkai.com