Tips To Rock At Hackathons

4,060 views
4,122 views

Published on

Save some time (and energy!) at hackathons by using 3scale's APItools.

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,060
On SlideShare
0
From Embeds
0
Number of Embeds
901
Actions
Shares
0
Downloads
18
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Tips To Rock At Hackathons

  1. 1. Tips To Rock At Hackathons http://bit.ly/apitoolsworkshop Nicolas Grenié (@picsoung) Dev Evangelist, 3scale Vanessa Ramos (@deepbane) Product Manager, APItools by
  2. 2. Get in touch! hello@apitools.com Which APIs to use? My app
  3. 3. Get in touch! hello@apitools.com Quickly implement APIs Authenticate Test & Debug No time for backend
  4. 4. Get in touch! hello@apitools.com Need a prototype working... … in a really short period of time
  5. 5. Get in touch! hello@apitools.com {Hackathon} Profit APItools is here to help + =
  6. 6. Get in touch! hello@apitools.com Tips And Tricks To Rock At Hackathons
  7. 7. Get in touch! hello@apitools.com 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. 8. 1. What is APItools and how to get an account 2. Get Twitter API keys Getting Ready
  9. 9. Get in touch! hello@apitools.com What is APItools? My app APItools Web APIs ★ Store traces ★ Test & Debug ★ Transform API traffic ★ Analytics requests responses
  10. 10. Get in touch! hello@apitools.com Demo apitools.com
  11. 11. Get in touch! hello@apitools.com 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. 12. Get in touch! hello@apitools.com Step 1 Dealing with Cross-Origin Resource Sharing Project source: https://github. com/picsoung/twitterDemoApp.git
  13. 13. Get in touch! hello@apitools.com 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. 14. Get in touch! hello@apitools.com Twitter API keys: https://apps.twitter.com/ Documentation: https://dev.twitter. com/docs/auth/application-only-auth
  15. 15. Get in touch! hello@apitools.com Step 2.1. Postman
  16. 16. Get in touch! hello@apitools.com Step 2.2 APItools middleware Part 2 https://gist.github.com/picsoung/3cdb87fd462bb0a754f9
  17. 17. Get in touch! hello@apitools.com 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
  18. 18. Get in touch! hello@apitools.com Step 3 Proxying mobile HTTP(s) requests Get code: https://github.com/vramosp/socialmusicapp/tree/noproxy Get solution: https://github.com/JaviSoto/JSTAPIToolsURLProtocol
  19. 19. Get in touch! hello@apitools.com 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
  20. 20. Get in touch! hello@apitools.com 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
  21. 21. Get in touch! hello@apitools.com 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
  22. 22. Get in touch! hello@apitools.com 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
  23. 23. Get in touch! hello@apitools.com 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
  24. 24. Get in touch! hello@apitools.com Questions?
  25. 25. Thank You and Happy Hacking! @apitools - hello@apitools.com nicolas@3scale.net, vanessa@3scale.net

×