Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Tips To Rock At Hackathons

Tips To Rock At Hackathons

By @picsoung and @deepbane
At APICon 2014

APItools

May 27, 2014
Tweet

More Decks by APItools

Other Decks in Technology

Transcript

  1. Tips To Rock At Hackathons http://bit.ly/apitoolsworkshop Nicolas Grenié (@picsoung) Dev

    Evangelist, 3scale Vanessa Ramos (@deepbane) Product Manager, APItools by
  2. Get in touch! [email protected] 5 Tips To Rock At Hackathons

    1. Deal with Cross-Origin Resource Sharing 2. Authentication 3. Proxy mobile HTTP(s) requests 4. Data type conversion 5. Add caching information to deal with rate limits
  3. 1. What is APItools and how to get an account

    2. Get Twitter API keys Getting Ready
  4. Get in touch! [email protected] What is APItools? My app APItools

    Web APIs ★ Store traces ★ Test & Debug ★ Transform API traffic ★ Analytics requests responses
  5. Get in touch! [email protected] 5 Tips To Rock At Hackathons

    1. Deal with Cross-Origin Resource Sharing 2. Authentication 3. Proxy mobile HTTP(s) requests 4. Data type conversion 5. Add caching information to deal with rate limits
  6. Get in touch! [email protected] Step 1 Dealing with Cross-Origin Resource

    Sharing Project source: https://github. com/picsoung/twitterDemoApp.git
  7. Get in touch! [email protected] 5 Tips To Rock At Hackathons

    1. Deal with Cross-Origin Resource Sharing 2. Authentication 3. Proxy mobile HTTP(s) requests 4. Data type conversion 5. Add caching information to deal with rate limits
  8. Get in touch! [email protected] Step 2.2 APItools middleware Part 2

    https://gist.github.com/picsoung/3cdb87fd462bb0a754f9
  9. Get in touch! [email protected] 5 Tips To Rock At Hackathons

    1. Deal with Cross-Origin Resource Sharing 2. Authentication 3. Proxy mobile HTTP(s) requests 4. Data type conversion 5. Add caching information to deal with rate limits
  10. Get in touch! [email protected] Step 3 Proxying mobile HTTP(s) requests

    Get code: https://github.com/vramosp/socialmusicapp/tree/noproxy Get solution: https://github.com/JaviSoto/JSTAPIToolsURLProtocol
  11. Get in touch! [email protected] 5 Tips To Rock At Hackathons

    1. Deal with Cross-Origin Resource Sharing 2. Authentication 3. Proxy mobile HTTP(s) requests 4. Data type conversion 5. Add caching information to deal with rate limits
  12. Get in touch! [email protected] Step 4 Transforming RSS feed (Google

    News) into JSON https://docs.apitools.com/2014/05/06/transforming-an-rss- feed-into-json-with-apitools.html
  13. Get in touch! [email protected] 5 Tips To Rock At Hackathons

    1. Deal with Cross-Origin Resource Sharing 2. Authentication 3. Proxy mobile HTTP(s) requests 4. Data type conversion 5. Add caching information to deal with rate limits
  14. Get in touch! [email protected] Step 5 Adding caching information to

    avoid rate limits Documentation: https://dev.twitter.com/docs/api/1. 1/get/trends/place Code: https://github.com/picsoung/twitterDemoApp/tree/step5- cache
  15. Get in touch! [email protected] 5 Tips To Rock At Hackathons

    1. Deal with Cross-Origin Resource Sharing 2. Authentication 3. Proxy mobile HTTP(s) requests 4. Data type conversion 5. Add caching information to deal with rate limits