22
Enhance Mobile dev with # APIMeetupBCN Nicolas Grenie @ picsoung

Enhance Mobile Dev with APItools

  • Upload
    3scale

  • View
    293

  • Download
    2

Embed Size (px)

Citation preview

Page 1: Enhance Mobile Dev with APItools

Enhance Mobile dev

with

#APIMeetupBCNNicolas Grenie @picsoung

Page 2: Enhance Mobile Dev with APItools

Mobile apps depend more and more on

APIs

My App

Page 3: Enhance Mobile Dev with APItools

Debugging on Mobile

Page 4: Enhance Mobile Dev with APItools

Mobile

API+

+

_________

Profit

Page 5: Enhance Mobile Dev with APItools

APItools + API driven dev

1.Debug iOS apps easily 2.Proxy mobile HTTP(s) requests 3.Reducing the payload of your apps 4.Other useful resources a.Cache responses to avoid rate limits b.Transform data formats on the fly

Page 6: Enhance Mobile Dev with APItools

What is APItools?

My App

Web APIs

★Store traces ★Test and Debug ★Transform API traffic ★Analytics

Page 7: Enhance Mobile Dev with APItools

DEMO

Page 8: Enhance Mobile Dev with APItools

APItools + API driven dev

1.Debug iOS apps easily 2.Proxy mobile HTTP(s) requests 3.Reducing the payload of your apps 4.Other useful resources a.Cache responses to avoid rate limits b.Transform data formats on the fly

Page 9: Enhance Mobile Dev with APItools

iOS Proxy

https://docs.apitools.com/blog/2014/04/17/how-to-debug-ios-apps-with-apitools.html

Page 10: Enhance Mobile Dev with APItools

iOS Proxy

https://docs.apitools.com/blog/2014/04/17/how-to-debug-ios-apps-with-apitools.html

Pros

Cons

•Easy to setup •Works on web and native

•Everything is proxied

Page 11: Enhance Mobile Dev with APItools

APItools + API driven dev

1.Debug iOS apps easily 2.Proxy mobile HTTP(s) requests 3.Reducing the payload of your apps 4.Other useful resources a.Cache responses to avoid rate limits b.Transform data formats on the fly

Page 12: Enhance Mobile Dev with APItools

Proxying HTTP(s) requests

Get code: https://github.com/vramosp/socialmusicapp/tree/noproxy

Get solution: https://github.com/JaviSoto/JSTAPIToolsURLProtocol

Page 13: Enhance Mobile Dev with APItools

APItools + API driven dev

1.Debug iOS apps easily 2.Proxy mobile HTTP(s) requests 3.Reducing the payload of your apps 4.Other useful resources a.Cache responses to avoid rate limits b.Transform data formats on the fly

Page 14: Enhance Mobile Dev with APItools

Our App

Page 15: Enhance Mobile Dev with APItools

Our App

BikeAPP

Page 16: Enhance Mobile Dev with APItools

Our App

Page 17: Enhance Mobile Dev with APItools

Our App

LocalHemp

Page 18: Enhance Mobile Dev with APItools

APItools + API driven dev

1.Debug iOS apps easily 2.Proxy mobile HTTP(s) requests 3.Reducing the payload of your apps 4.Other useful resources a.Cache responses to avoid rate limits b.Transform data formats on the fly

Page 19: Enhance Mobile Dev with APItools

Documentation: https://dev.twitter.com/docs/api/1.1/get/trends/place Code: https://github.com/picsoung/twitterDemoApp/tree/step5-cache

Avoid Rate Limits

Page 20: Enhance Mobile Dev with APItools

Transform RSS into JSON

https://docs.apitools.com/2014/05/06/transforming-an-rss-feed-into-json-with-apitools.html

Page 21: Enhance Mobile Dev with APItools

APItools is new your friend

★Inspect HTTP(s) requests… ★… on a nice and visual environment ★Troubleshoot ★Easily spot not so obvious errors ★Keep your app’s code clean ★Benefit from the community!

Page 22: Enhance Mobile Dev with APItools

Questions?

#APIMeetupBCNNicolas Grenie @picsoung