20140527 APIcon SF - Workshop #1 - Spreadsheet to Custom API

440 views

Published on

1) Overview of APISpark (5’)
2) Google Spreadsheet wrapper (5’)
3) Hands-on lab (40’)
- Sign in to APISpark
- Prepare the Google Spreadsheet
- Create the Data Store wrapper
- Export the Custom Web API

Published in: Software, Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
440
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

20140527 APIcon SF - Workshop #1 - Spreadsheet to Custom API

  1. 1. TURN YOUR GOOGLE SPREADSHEET INTO A CUSTOM API Full stack PaaS for web APIs http://apispark.com May 27, 2014
  2. 2. PRESENTER ENTREPRENEUR AND WEB API EXPERT Jérôme LOUVEL  CEO of Restlet  12 years of experience in software (EU and US)  Restlet Framework creator (2005)  JAX-RS 1.0 expert in JCP (JSR-311)  Contributor to “RESTful Web Services” (O’Reilly)  Co-author of “Restlet in Action” (Manning) Contact  jlouvel@restlet.com  Twitter : @jlouvel  Blog : blog.restlet.com
  3. 3. AGENDA  1) Overview of APISpark (5’)  2) Google Spreadsheet wrapper (5’)  3) Hands-on lab (40’) – Sign in to APISpark – Prepare the Google Spreadsheet – Create the Data Store wrapper – Export the Custom Web API
  4. 4. 1) OVERVIEW OF APISPARK
  5. 5. WEB API PROJECT TYPICAL LIFE CYCLE Create Host Manage Use Promote 1) Do It Yourself (DIY) long, risky, expensive but highly flexible 2) Platform as a Service (PaaS) integrated, fast, cost effective
  6. 6. APISPARK PLATFORM AVAILABLE IN PUBLIC BETA Send us your feed-back and help us making it the best PaaS for Web APIs !
  7. 7. COMPOSING APISPARK CELLS Entity Store File Store Custom API Java iOS JS HTTP HTTP
  8. 8. STRUCTURE OF WEB APIS API Contract Implementation Runtime Web API template Complete web API HTTP HTTPS
  9. 9. SOCIAL LOGIN
  10. 10. YOUR DASHBOARD
  11. 11. ENTITY STORE CREATION
  12. 12. ENTITY PROPERTIES
  13. 13. 2) GOOGLE SPREADSHEET WRAPPER
  14. 14. REEXPOSING A SPREADSHEET Entity Store Custom API HTTP HTTP Google Spreadsheet
  15. 15. MAPPING TABLE Google Docs APISpark Spread sheet Entity Store Work sheet * Entity * Column * Entity property * First row Entity property names Next rows Entity instances
  16. 16. FEATURES  Work in both read and write modes – your data always stays in sync  Your data can be updated – directly in the Google Spreadsheet – via the Custom Web APIs  Additional security layer – your main Google password isn’t exposed – you control who has access to the custom API
  17. 17. 3) HANDS-ON LAB
  18. 18. YOUR STEPS 1. Prepare the Google Spreadsheet 2. Configure the Entity Store Wrapper 3. Deploy the Web API 4. Invoke the Web API  Follow this detailed tutorial – https://apispark.com/docs/tutorials/google- spreadsheet
  19. 19. 1. PREPARE THE GOOGLE SPREADSHEET
  20. 20. 2. CONFIGURE THE ENTITY STORE WRAPPER
  21. 21. ENABLE 2-STEPS AUTHENTICATION ! ON YOUR GOOGLE ACCOUNT
  22. 22. TEST YOUR GOOGLE CREDENTIALS
  23. 23. IMPORT A SPREAD SHEET
  24. 24. UPDATE WORK SHEETS
  25. 25. ADD ENTITIES
  26. 26. DISPLAY WRAPPED ENTITIES
  27. 27. UPDATE MAPPING IF NECESSARY
  28. 28. DEPLOY YOUR ENTITY STORE
  29. 29. 3. DEPLOY THE WEB API
  30. 30. DISPLAY EXPORTED CUSTOM API
  31. 31. DEPLOY THE CUSTOM API
  32. 32. 4. INVOKE THE WEB API
  33. 33. KEEP IN TOUCH! http://restlet.com http://blog.restlet.com Twitter: @jlouvel jlouvel@restlet.com Leading web API platform for Java

×