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
APItools
May 30, 2014
Technology
0
39
Reverse Engineering APIs
By @_mikz and Raimon Grau
At APIDays Mediterranea 2014
APItools
May 30, 2014
Tweet
Share
More Decks by APItools
See All by APItools
Enhance Mobile Dev With APItools
apitools
0
36
A Taste of Lua
apitools
0
180
Using 3rd party APIs in car apps
apitools
0
24
Making Hacker's Life Easier At Hackathons
apitools
0
39
Tips To Rock At Hackathons
apitools
0
210
Doing API Magic on NGINX
apitools
0
64
Other Decks in Technology
See All in Technology
EMとして2023年度に頑張ったこと / What we did well in FY2023 as a EM
pauli
1
180
[新卒向け研修資料] テスト文字列に「うんこ」と入れるな(2024年版)
infiniteloop_inc
4
16k
競技としてのKaggle、役に立つKaggle
yu4u
5
2k
BPStudyの200回を中心にIT業界を振り返る。そしてこれから
haru860
3
300
Cracking the KubeCon CfP
inductor
2
250
「スニダン」開発組織の構造に込めた意図 ~組織作りはパッションや政治ではない!~
rinchsan
4
580
地理空間データ可視化・解析・活用ソリューション Pacific Spatial Solutions (PSS)
pacificspatialsolutions
0
300
今日からできる!簡単 .NET 高速化 Tips -2024 edition-
xin9le
5
2.2k
Kernel MemoryでAzure OpenAI Serviceとお手軽データソース連携
mitsuzono
1
260
ワールドカフェI /チューターを改良する / World Café I and Improving the Tutors
ks91
PRO
0
130
開発生産性大幅アップ!Postman VS Code拡張機能
nagix
2
490
VSCodeの拡張機能を作っている話
ebarakazuhiro
1
650
Featured
See All Featured
For a Future-Friendly Web
brad_frost
172
9k
Ruby is Unlike a Banana
tanoku
96
10k
Side Projects
sachag
451
41k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
The Cost Of JavaScript in 2023
addyosmani
16
3.9k
Product Roadmaps are Hard
iamctodd
44
9.7k
The Brand Is Dead. Long Live the Brand.
mthomps
49
29k
Atom: Resistance is Futile
akmur
259
25k
How GitHub (no longer) Works
holman
304
140k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
121
39k
From Idea to $5000 a Month in 5 Months
shpigford
377
45k
Debugging Ruby Performance
tmm1
70
11k
Transcript
Reverse Engineering APIs Raimon Grau & Michal Cichra 3scale
Inspecting APIs github.com/kidd & github.com/mikz 3scale
Debugging APIs
[email protected]
&
[email protected]
3scale
APIs Everywhere
Get in touch!
[email protected]
Cases of study • ‘Hidden’ API:
Sonos • Combining APIs: Bicing on steroids
Get in touch!
[email protected]
Sonos
Get in touch!
[email protected]
Sonos
Get in touch!
[email protected]
Sonos
Get in touch!
[email protected]
Sonos
Get in touch!
[email protected]
Sonos
Demotime!
Yay! :) or nay :(
Get in touch!
[email protected]
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!
[email protected]
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!
[email protected]
Improvements • Reduce transfer size •
Reduce roundtrips • Improve accuracy by getting info from multiple sources • Improve API interface
Get in touch!
[email protected]
Api Aggregation Mobile app Middleware Web
APIs requests responses
Get in touch!
[email protected]
Api Aggregation Mobile app Middleware Web
APIs requests responses http://techblog.netflix.com/2013/01/optimizing-netflix-api.html
Demotime!
Get in touch!
[email protected]
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!
[email protected]
What APIs to combine? Hue +
Google Calendar Google Maps + Foursquare Sonos + Last.fm Dropbox + Github Almost any, actually
Get in touch!
[email protected]
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!
[email protected]
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 -
[email protected]
[email protected]
/
[email protected]