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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
4
1.2k
Webhook best practices for rock solid and resilient deployments
glaforge
1
280
Greatest Disaster Hits in Web Performance
guaca
0
210
変化するコーディングエージェントとの現実的な付き合い方 〜Cursor安定択説と、ツールに依存しない「資産」〜
empitsu
4
1.4k
データ民主化のための LLM 活用状況と課題紹介(IVRy の場合)
wxyzzz
2
700
[CV勉強会@関東 World Model 読み会] Orbis: Overcoming Challenges of Long-Horizon Prediction in Driving World Models (Mousakhan+, NeurIPS 2025)
abemii
0
130
超初心者からでも大丈夫!オープンソース半導体の楽しみ方〜今こそ!オレオレチップをつくろう〜
keropiyo
0
110
AI駆動PjMの理想像 と現在地 -実践例を添えて-
masahiro_okamura
1
110
配列に見る bash と zsh の違い
kazzpapa3
1
140
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
210
MCPでつなぐElasticsearchとLLM - 深夜の障害対応を楽にしたい / Bridging Elasticsearch and LLMs with MCP
sashimimochi
0
160
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
Featured
See All Featured
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
440
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
200
Darren the Foodie - Storyboard
khoart
PRO
2
2.4k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
290
Practical Orchestrator
shlominoach
191
11k
Music & Morning Musume
bryan
47
7.1k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1.1k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
Utilizing Notion as your number one productivity tool
mfonobong
3
220
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
120
The Curse of the Amulet
leimatthew05
1
8.4k
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