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
Reverse Engineering APIs
Search
mikz
May 30, 2014
Technology
1
570
Reverse Engineering APIs
Hacking Sonos and Bicing APIs with APItools.
ApiDays
mikz
May 30, 2014
Tweet
Share
Other Decks in Technology
See All in Technology
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
12k
AIエージェントデザインパターンの選び方
almondo_event
0
150
GigaViewerにおけるMackerel APM導入の裏側
7474
0
460
RDRA3.0を知ろう
kanzaki
2
430
新卒から4年間、20年もののWebサービスと向き合って学んだソフトウェア考古学 - PHPカンファレンス新潟2025 / new graduate 4year software archeology
oguri
2
360
会社紹介資料 / Sansan Company Profile
sansan33
PRO
6
360k
DevOpsDays Taipei 2025 -- Creating Awesome Change in SmartNews!
martin_lover
0
160
Data Hubグループ 紹介資料
sansan33
PRO
0
1.7k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
8
65k
AIのための オンボーディングドキュメントを整備する - hirotea
hirotea
9
2.3k
テストを実施する前に考えるべきテストの話 / Thinking About Testing Before You Test
nihonbuson
PRO
14
2.1k
令和トラベルQAのAI活用
seigaitakahiro
0
520
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
233
140k
Raft: Consensus for Rubyists
vanstee
137
7k
Embracing the Ebb and Flow
colly
85
4.7k
We Have a Design System, Now What?
morganepeng
52
7.6k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.7k
Facilitating Awesome Meetings
lara
54
6.4k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
47
2.8k
Fireside Chat
paigeccino
37
3.5k
YesSQL, Process and Tooling at Scale
rocio
172
14k
Automating Front-end Workflow
addyosmani
1370
200k
A designer walks into a library…
pauljervisheath
205
24k
Why You Should Never Use an ORM
jnunemaker
PRO
56
9.4k
Transcript
Reverse Engineering APIs Raimon Grau & Michal Cichra 3scale
Inspecting APIs github.com/kidd & github.com/mikz 3scale
Debugging APIs raimon@3scale.net & michal@3scale.net 3scale
APIs Everywhere
Get in touch! hello@apitools.com Cases of study • ‘Hidden’ API:
Sonos • Combining APIs: Bicing on steroids
Get in touch! hello@apitools.com Sonos
Get in touch! hello@apitools.com Sonos
Get in touch! hello@apitools.com Sonos
Get in touch! hello@apitools.com Sonos
Get in touch! hello@apitools.com Sonos
Demotime!
Yay! :) or nay :(
Get in touch! hello@apitools.com What else you could do? •
Transfer song from Spotify to the Sonos • Backup playlists • Stream the music to remote locations • Vote the songs added to the queue
Get in touch! hello@apitools.com Case 2: Api aggregation Bicing +
Google Maps Source: Carlos Mejía Greene https://www.flickr.com/photos/carlitos/3101121106/ CC BY-NC-SA 2.0
Get in touch! hello@apitools.com Improvements • Reduce transfer size •
Reduce roundtrips • Improve accuracy by getting info from multiple sources • Improve API interface
Get in touch! hello@apitools.com Api Aggregation Mobile app Middleware Web
APIs requests responses
Get in touch! hello@apitools.com Api Aggregation Mobile app Middleware Web
APIs requests responses http://techblog.netflix.com/2013/01/optimizing-netflix-api.html
Demotime!
Get in touch! hello@apitools.com How we improved? Size Savings Response
time Original XML 131k ~0.7s JSON 80k 39% ~0.7s JSON with distances 91k 30% ~0.7s nearest 10 5k 96% ~0.8s
Get in touch! hello@apitools.com What APIs to combine? Hue +
Google Calendar Google Maps + Foursquare Sonos + Last.fm Dropbox + Github Almost any, actually
Get in touch! hello@apitools.com What do we get from it?
• As hackers we like to know what’s under the hood • Cross API • We can ‘discover’ hidden APIs. :) • It’s fun! • We can improve performance by aggregating multiple calls.
Get in touch! hello@apitools.com Special Treat Primavera Sound Festival 2014
fake apps on Google Play Store real iOS app with a twist
Thank You and Happy Hacking! www.apitools.com @apitools - hello@apitools.com raimon@3scale.net
/ michal@3scale.net