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
配列に見る bash と zsh の違い
kazzpapa3
1
140
Agile Leadership Summit Keynote 2026
m_seki
1
600
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.1k
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
240
生成AI時代にこそ求められるSRE / SRE for Gen AI era
ymotongpoo
5
3.1k
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
430
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
210
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
220
20260204_Midosuji_Tech
takuyay0ne
1
150
今日から始めるAmazon Bedrock AgentCore
har1101
4
410
日本の85%が使う公共SaaSは、どう育ったのか
taketakekaho
1
150
OWASP Top 10:2025 リリースと 少しの日本語化にまつわる裏話
okdt
PRO
3
720
Featured
See All Featured
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
710
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
Tell your own story through comics
letsgokoyo
1
810
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3k
The untapped power of vector embeddings
frankvandijk
1
1.6k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.6k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Scaling GitHub
holman
464
140k
What does AI have to do with Human Rights?
axbom
PRO
0
2k
Crafting Experiences
bethany
1
48
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