SlideShare ist ein Scribd-Unternehmen logo
1 von 25
Downloaden Sie, um offline zu lesen
Tips To Rock At
Hackathons
http://bit.ly/apitoolsworkshop
Nicolas Grenié (@picsoung) Dev Evangelist, 3scale
Vanessa Ramos (@deepbane) Product Manager, APItools
by
Get in touch! hello@apitools.com
Which APIs to use?
My app
Get in touch! hello@apitools.com
Quickly implement APIs
Authenticate Test & Debug No time for backend
Get in touch! hello@apitools.com
Need a prototype working...
… in a really short
period of time
Get in touch! hello@apitools.com
{Hackathon} Profit
APItools is here to help
+ =
Get in touch! hello@apitools.com
Tips And Tricks
To
Rock At Hackathons
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
1. What is APItools and how
to get an account
2. Get Twitter API keys
Getting
Ready
Get in touch! hello@apitools.com
What is APItools?
My app APItools
Web APIs
★ Store traces
★ Test & Debug
★ Transform API traffic
★ Analytics
requests
responses
Get in touch! hello@apitools.com
Demo apitools.com
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
Get in touch! hello@apitools.com
Step 1
Dealing with Cross-Origin Resource Sharing
Project source: https://github.
com/picsoung/twitterDemoApp.git
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
Get in touch! hello@apitools.com
Twitter API keys:
https://apps.twitter.com/
Documentation: https://dev.twitter.
com/docs/auth/application-only-auth
Get in touch! hello@apitools.com
Step 2.1.
Postman
Get in touch! hello@apitools.com
Step 2.2
APItools middleware
Part 2
https://gist.github.com/picsoung/3cdb87fd462bb0a754f9
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
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
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
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
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
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
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
Get in touch! hello@apitools.com
Questions?
Thank You
and
Happy Hacking!
@apitools - hello@apitools.com
nicolas@3scale.net, vanessa@3scale.net

Weitere ähnliche Inhalte

Was ist angesagt?

Creating a server side web app
Creating a server side web appCreating a server side web app
Creating a server side web app
jeremyk23
 

Was ist angesagt? (20)

TuleapCon2017-Bugzilla-integration
TuleapCon2017-Bugzilla-integrationTuleapCon2017-Bugzilla-integration
TuleapCon2017-Bugzilla-integration
 
Enterprise E-commerce Webinar #2 - Deploy & Monitor APIs
Enterprise E-commerce Webinar #2 - Deploy & Monitor APIsEnterprise E-commerce Webinar #2 - Deploy & Monitor APIs
Enterprise E-commerce Webinar #2 - Deploy & Monitor APIs
 
Twitter APIs - the starter guide
Twitter APIs - the starter guideTwitter APIs - the starter guide
Twitter APIs - the starter guide
 
TuleapCon2017-Tuleap-Tracker-Query-Langage
TuleapCon2017-Tuleap-Tracker-Query-LangageTuleapCon2017-Tuleap-Tracker-Query-Langage
TuleapCon2017-Tuleap-Tracker-Query-Langage
 
TuleapCon2017-CaseStudy_Sleepinnov_Medical_Devices
TuleapCon2017-CaseStudy_Sleepinnov_Medical_DevicesTuleapCon2017-CaseStudy_Sleepinnov_Medical_Devices
TuleapCon2017-CaseStudy_Sleepinnov_Medical_Devices
 
Automation, Integration, and Orchestration for Better Engineering Operations
Automation, Integration, and Orchestration for Better Engineering OperationsAutomation, Integration, and Orchestration for Better Engineering Operations
Automation, Integration, and Orchestration for Better Engineering Operations
 
TuleapCon2017-Pack-Stackstorm-Github-issues
TuleapCon2017-Pack-Stackstorm-Github-issuesTuleapCon2017-Pack-Stackstorm-Github-issues
TuleapCon2017-Pack-Stackstorm-Github-issues
 
TuleapCon2017-keynote
TuleapCon2017-keynoteTuleapCon2017-keynote
TuleapCon2017-keynote
 
Creating a server side web app
Creating a server side web appCreating a server side web app
Creating a server side web app
 
Chat-Ops : PHP Berkshire
Chat-Ops : PHP BerkshireChat-Ops : PHP Berkshire
Chat-Ops : PHP Berkshire
 
TuleapCon2017-Mattermost-integration
TuleapCon2017-Mattermost-integrationTuleapCon2017-Mattermost-integration
TuleapCon2017-Mattermost-integration
 
EclipseCon France-2017-Tuleap-new-big-features
EclipseCon France-2017-Tuleap-new-big-featuresEclipseCon France-2017-Tuleap-new-big-features
EclipseCon France-2017-Tuleap-new-big-features
 
How I did create Telegram bot - Roman Senin
How I did create Telegram bot - Roman SeninHow I did create Telegram bot - Roman Senin
How I did create Telegram bot - Roman Senin
 
Postman Webinar: "From APIs to Serverless Cloud Applications in Minutes"
Postman Webinar: "From APIs to Serverless Cloud Applications in Minutes"Postman Webinar: "From APIs to Serverless Cloud Applications in Minutes"
Postman Webinar: "From APIs to Serverless Cloud Applications in Minutes"
 
Evangelists as Developer Program Drivers (3scale at APIdays Berlin)
Evangelists as Developer Program Drivers (3scale at APIdays Berlin)Evangelists as Developer Program Drivers (3scale at APIdays Berlin)
Evangelists as Developer Program Drivers (3scale at APIdays Berlin)
 
Postman Webinar: Postman 101
Postman Webinar: Postman 101Postman Webinar: Postman 101
Postman Webinar: Postman 101
 
Enterprise E-Commerce Webinar #3: Bringing Your API to Market
Enterprise E-Commerce Webinar #3: Bringing Your API to MarketEnterprise E-Commerce Webinar #3: Bringing Your API to Market
Enterprise E-Commerce Webinar #3: Bringing Your API to Market
 
Frontcon Riga - GraphQL Will Do To REST What JSON Did To XML
Frontcon Riga - GraphQL Will Do To REST What JSON Did To XMLFrontcon Riga - GraphQL Will Do To REST What JSON Did To XML
Frontcon Riga - GraphQL Will Do To REST What JSON Did To XML
 
Postman Webinar: “Continuous Testing with Postman”
Postman Webinar: “Continuous Testing with Postman”Postman Webinar: “Continuous Testing with Postman”
Postman Webinar: “Continuous Testing with Postman”
 
Wrapping and Securing REST APIs with GraphQL
Wrapping and Securing REST APIs with GraphQLWrapping and Securing REST APIs with GraphQL
Wrapping and Securing REST APIs with GraphQL
 

Andere mochten auch

Andere mochten auch (8)

What the Heck are Hackathons?
What the Heck are Hackathons? What the Heck are Hackathons?
What the Heck are Hackathons?
 
What is a Hackathon?
What is a Hackathon?What is a Hackathon?
What is a Hackathon?
 
Hackathon
HackathonHackathon
Hackathon
 
AT&T IoT Civic Hackathon @ IndyPy
AT&T IoT Civic Hackathon @ IndyPyAT&T IoT Civic Hackathon @ IndyPy
AT&T IoT Civic Hackathon @ IndyPy
 
How to Start a Startup
How to Start a StartupHow to Start a Startup
How to Start a Startup
 
How to start a Startup - Sam Altman
How to start a Startup - Sam AltmanHow to start a Startup - Sam Altman
How to start a Startup - Sam Altman
 
Hackathons - learnings, tips and tricks...
Hackathons - learnings, tips and tricks...Hackathons - learnings, tips and tricks...
Hackathons - learnings, tips and tricks...
 
Hackathons - What, How and Why
Hackathons - What, How and WhyHackathons - What, How and Why
Hackathons - What, How and Why
 

Ähnlich wie Tips To Rock At Hackathons

Understanding APIs.pptx introduction chk
Understanding APIs.pptx introduction chkUnderstanding APIs.pptx introduction chk
Understanding APIs.pptx introduction chk
nooreen nayyar syeda
 

Ähnlich wie Tips To Rock At Hackathons (20)

Making Hacker’s Life Easier at Hackathons (3scale at Barcelona MusicHackDays)
Making Hacker’s Life Easier at Hackathons (3scale at Barcelona MusicHackDays)Making Hacker’s Life Easier at Hackathons (3scale at Barcelona MusicHackDays)
Making Hacker’s Life Easier at Hackathons (3scale at Barcelona MusicHackDays)
 
Crafting APIs
Crafting APIsCrafting APIs
Crafting APIs
 
Building A Great API - Evan Cooke, Cloudstock, December 2010
Building A Great API - Evan Cooke, Cloudstock, December 2010Building A Great API - Evan Cooke, Cloudstock, December 2010
Building A Great API - Evan Cooke, Cloudstock, December 2010
 
API Workshop: Deep dive into REST APIs
API Workshop: Deep dive into REST APIsAPI Workshop: Deep dive into REST APIs
API Workshop: Deep dive into REST APIs
 
Twitter API 2.0
Twitter API 2.0Twitter API 2.0
Twitter API 2.0
 
Pure APIs: Development workflows for successful API integrations
Pure APIs: Development workflows for successful API integrationsPure APIs: Development workflows for successful API integrations
Pure APIs: Development workflows for successful API integrations
 
INTERFACE by apidays 2023 - API Design Governance, Nauman Ali, Stoplight
INTERFACE by apidays 2023 - API Design Governance, Nauman Ali, StoplightINTERFACE by apidays 2023 - API Design Governance, Nauman Ali, Stoplight
INTERFACE by apidays 2023 - API Design Governance, Nauman Ali, Stoplight
 
api_slides.pptx
api_slides.pptxapi_slides.pptx
api_slides.pptx
 
Building a Great Web API - Evan Cooke - QCON 2011
Building a Great Web API - Evan Cooke - QCON 2011Building a Great Web API - Evan Cooke - QCON 2011
Building a Great Web API - Evan Cooke - QCON 2011
 
Nom Nom: Consuming REST APIs
Nom Nom: Consuming REST APIsNom Nom: Consuming REST APIs
Nom Nom: Consuming REST APIs
 
APIdays Paris 2019 Backend is the new frontend by Antoine Cheron
APIdays Paris 2019 Backend is the new frontend by Antoine CheronAPIdays Paris 2019 Backend is the new frontend by Antoine Cheron
APIdays Paris 2019 Backend is the new frontend by Antoine Cheron
 
REST API Basics
REST API BasicsREST API Basics
REST API Basics
 
Swift meetup22june2015
Swift meetup22june2015Swift meetup22june2015
Swift meetup22june2015
 
Nom Nom: Consuming REST APIs
Nom Nom: Consuming REST APIsNom Nom: Consuming REST APIs
Nom Nom: Consuming REST APIs
 
Understanding APIs.pptx
Understanding APIs.pptxUnderstanding APIs.pptx
Understanding APIs.pptx
 
Understanding APIs.pptx introduction chk
Understanding APIs.pptx introduction chkUnderstanding APIs.pptx introduction chk
Understanding APIs.pptx introduction chk
 
AtlasCamp 2014: Hipchat Add-ons for the Atlassian Marketplace
AtlasCamp 2014: Hipchat Add-ons for the Atlassian MarketplaceAtlasCamp 2014: Hipchat Add-ons for the Atlassian Marketplace
AtlasCamp 2014: Hipchat Add-ons for the Atlassian Marketplace
 
API Integration with APItools.com
API Integration with APItools.comAPI Integration with APItools.com
API Integration with APItools.com
 
How to create OpenSocial Apps in 45 minutes
How to create OpenSocial Apps in 45 minutesHow to create OpenSocial Apps in 45 minutes
How to create OpenSocial Apps in 45 minutes
 
Enhance Mobile Dev with APItools
Enhance Mobile Dev with APItoolsEnhance Mobile Dev with APItools
Enhance Mobile Dev with APItools
 

Mehr von 3scale

Mehr von 3scale (20)

APISTRAT KEYNOTE: Surfing the Wave between Chaos and Innovation
APISTRAT KEYNOTE:  Surfing the Wave between Chaos and InnovationAPISTRAT KEYNOTE:  Surfing the Wave between Chaos and Innovation
APISTRAT KEYNOTE: Surfing the Wave between Chaos and Innovation
 
A Connector, A Container and an API Walk into a Bar… Microservices Edition
A Connector, A Container and an API Walk into a Bar… Microservices EditionA Connector, A Container and an API Walk into a Bar… Microservices Edition
A Connector, A Container and an API Walk into a Bar… Microservices Edition
 
A Connector, A Container and an API Walk Into a Bar: The Programmable World
A Connector, A Container and an API Walk Into a Bar: The Programmable World A Connector, A Container and an API Walk Into a Bar: The Programmable World
A Connector, A Container and an API Walk Into a Bar: The Programmable World
 
How to Survive the API Copyright Apocalypse
How to Survive the API Copyright ApocalypseHow to Survive the API Copyright Apocalypse
How to Survive the API Copyright Apocalypse
 
Inside mind of a successful platform architect / Gartner APPS 2016
Inside mind of a successful platform architect / Gartner APPS 2016 Inside mind of a successful platform architect / Gartner APPS 2016
Inside mind of a successful platform architect / Gartner APPS 2016
 
The Fundamentals of Platform Strategy: Creating Genuine Value with APIs
The Fundamentals of Platform Strategy: Creating Genuine Value with APIsThe Fundamentals of Platform Strategy: Creating Genuine Value with APIs
The Fundamentals of Platform Strategy: Creating Genuine Value with APIs
 
Build and Manage Serverless APIs (APIDays Nordic, May 19th 2016)
Build and Manage Serverless APIs (APIDays Nordic, May 19th 2016)Build and Manage Serverless APIs (APIDays Nordic, May 19th 2016)
Build and Manage Serverless APIs (APIDays Nordic, May 19th 2016)
 
APIs and the Bot Revolution (APIDays Nordic, May 18)
APIs and the Bot Revolution (APIDays Nordic, May 18)APIs and the Bot Revolution (APIDays Nordic, May 18)
APIs and the Bot Revolution (APIDays Nordic, May 18)
 
Take Control of your APIs in a Microservice Architecture
Take Control of your APIs in a Microservice ArchitectureTake Control of your APIs in a Microservice Architecture
Take Control of your APIs in a Microservice Architecture
 
API workshop by AWS and 3scale
API workshop by AWS and 3scaleAPI workshop by AWS and 3scale
API workshop by AWS and 3scale
 
The Swagger Format becomes the Open API Specification: Standardizing descript...
The Swagger Format becomes the Open API Specification: Standardizing descript...The Swagger Format becomes the Open API Specification: Standardizing descript...
The Swagger Format becomes the Open API Specification: Standardizing descript...
 
Entering the Platform Age: How to create genuine value for internal and exter...
Entering the Platform Age: How to create genuine value for internal and exter...Entering the Platform Age: How to create genuine value for internal and exter...
Entering the Platform Age: How to create genuine value for internal and exter...
 
APIs and the Creation of Wealth in the Digital Economy - APIDays Paris 2015 K...
APIs and the Creation of Wealth in the Digital Economy - APIDays Paris 2015 K...APIs and the Creation of Wealth in the Digital Economy - APIDays Paris 2015 K...
APIs and the Creation of Wealth in the Digital Economy - APIDays Paris 2015 K...
 
API Model Canvas for successful API strategies and programs
API Model Canvas for successful API strategies and programsAPI Model Canvas for successful API strategies and programs
API Model Canvas for successful API strategies and programs
 
Microservices in action: How to actually build them
Microservices in action: How to actually build themMicroservices in action: How to actually build them
Microservices in action: How to actually build them
 
The API-Application Semantic Gap
The API-Application Semantic GapThe API-Application Semantic Gap
The API-Application Semantic Gap
 
Integrating, exposing and managing distributed data with RESTful APIs and op...
Integrating, exposing and managing distributed data with RESTful APIs and op...Integrating, exposing and managing distributed data with RESTful APIs and op...
Integrating, exposing and managing distributed data with RESTful APIs and op...
 
Building Successful API Programs in Higher Education
Building Successful API Programs in Higher EducationBuilding Successful API Programs in Higher Education
Building Successful API Programs in Higher Education
 
APIs.JSON: Bootstrapping The Web of APIs
APIs.JSON: Bootstrapping The Web of APIsAPIs.JSON: Bootstrapping The Web of APIs
APIs.JSON: Bootstrapping The Web of APIs
 
API Model Canvas (APIDays Mediterranea 2015)
API Model Canvas (APIDays Mediterranea 2015)API Model Canvas (APIDays Mediterranea 2015)
API Model Canvas (APIDays Mediterranea 2015)
 

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Kürzlich hochgeladen (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

Tips To Rock At Hackathons

  • 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! hello@apitools.com Which APIs to use? My app
  • 3. Get in touch! hello@apitools.com Quickly implement APIs Authenticate Test & Debug No time for backend
  • 4. Get in touch! hello@apitools.com Need a prototype working... … in a really short period of time
  • 5. Get in touch! hello@apitools.com {Hackathon} Profit APItools is here to help + =
  • 6. Get in touch! hello@apitools.com Tips And Tricks To Rock At Hackathons
  • 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. 1. What is APItools and how to get an account 2. Get Twitter API keys Getting Ready
  • 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. Get in touch! hello@apitools.com Demo apitools.com
  • 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. Get in touch! hello@apitools.com Step 1 Dealing with Cross-Origin Resource Sharing Project source: https://github. com/picsoung/twitterDemoApp.git
  • 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. Get in touch! hello@apitools.com Twitter API keys: https://apps.twitter.com/ Documentation: https://dev.twitter. com/docs/auth/application-only-auth
  • 15. Get in touch! hello@apitools.com Step 2.1. Postman
  • 16. Get in touch! hello@apitools.com Step 2.2 APItools middleware Part 2 https://gist.github.com/picsoung/3cdb87fd462bb0a754f9
  • 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. 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. 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. 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. 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. 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. 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. Get in touch! hello@apitools.com Questions?
  • 25. Thank You and Happy Hacking! @apitools - hello@apitools.com nicolas@3scale.net, vanessa@3scale.net