Transcript
Page 1: Turn your Google Spreadsheet into a custom web API - API World

TURN YOUR GOOGLE SPREADSHEETINTO A CUSTOM API

Full stack PaaS for web APIshttp://apispark.com

September 16, 2014

Page 2: Turn your Google Spreadsheet into a custom web API - API World

PRESENTERENTREPRENEUR 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▪ [email protected]▪ Twitter : @jlouvel▪ Blog : blog.restlet.com

Page 3: Turn your Google Spreadsheet into a custom web API - API World

AGENDA

1) Overview of APISpark (3’)

2) Demo of the Google Spreadsheet wrapper (27’)– Sign in to APISpark– Prepare the Google Spreadsheet– Create the Data Store wrapper– Export the Custom Web API

3) Questions (5’)

Page 4: Turn your Google Spreadsheet into a custom web API - API World

WEB API PROJECTTYPICAL LIFE CYCLE

1) Do It Yourself (DIY)long, technical, expensive but highly flexible

2) Platform as a Service (PaaS)integrated, fast, cost effective

Page 5: Turn your Google Spreadsheet into a custom web API - API World

APISPARK CLOUD PLATFORMAVAILABLE IN PUBLIC BETA

▪ Web IDEUse, develop and manage your APIs

▪ HostingRun your APIs and their backends

▪ CatalogReference & Promote your APIs

We’d love to hear what you think! Email us at [email protected] to share your feedback.

Page 6: Turn your Google Spreadsheet into a custom web API - API World

REEXPOSING A SPREADSHEET

Entity Store

Custom API

HTTP HTTP

Google Spreadsheet

Page 7: Turn your Google Spreadsheet into a custom web API - API World

GOOGLE SPREADSHEET WRAPPERFEATURES

▪ 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 API

▪ Additional security layer– your main Google password isn’t exposed– you control who has access to the custom API

Page 8: Turn your Google Spreadsheet into a custom web API - API World

WHERE IS SPARKY COMPETITION

Sparky is flying to API Strat in Chicago and is sending some pictures along the way. Every week, participate in our new #WhereisSparky challenge.

How to play▪ Retrieve photo of the week from the Sparky API▪ Find Sparky▪ Retrieve words list▪ Compose sentence describing where Sparky is located▪ Submit a POST request with your answer

This week’s prize▪ Custom Big Jambox speakers

Worth $299More info http://pages.restlet.com/whereissparky

Page 9: Turn your Google Spreadsheet into a custom web API - API World

SOCIAL LOGIN

Page 10: Turn your Google Spreadsheet into a custom web API - API World

YOUR DASHBOARD

Page 11: Turn your Google Spreadsheet into a custom web API - API World

1. ENTITY STORE CREATION

Page 12: Turn your Google Spreadsheet into a custom web API - API World

ENABLE 2-STEPS AUTHENTICATION !ON YOUR GOOGLE ACCOUNT

Page 13: Turn your Google Spreadsheet into a custom web API - API World

2. TEST YOUR GOOGLE CREDENTIALS

Page 14: Turn your Google Spreadsheet into a custom web API - API World

3. SPREADSHEET - WORDS

Page 15: Turn your Google Spreadsheet into a custom web API - API World

3. SPREADSHEET - ANSWERS

Page 16: Turn your Google Spreadsheet into a custom web API - API World

3. SPREADSHEET - RESULTS

Page 17: Turn your Google Spreadsheet into a custom web API - API World

3. SPREADSHEET - CORRECTION

Page 18: Turn your Google Spreadsheet into a custom web API - API World

MAPPING TABLE

Google Docs APISpark

Spread sheet Entity Store

Work sheet * Entity *

Column * Entity property *

First row Entity property names

Next rows Entity instances

Page 19: Turn your Google Spreadsheet into a custom web API - API World

4. IMPORT A SPREADSHEET

Page 20: Turn your Google Spreadsheet into a custom web API - API World

5. ADD ENTITIES

Page 21: Turn your Google Spreadsheet into a custom web API - API World

6. ENTITY STORE

Page 22: Turn your Google Spreadsheet into a custom web API - API World

7. FILE STORE

Page 23: Turn your Google Spreadsheet into a custom web API - API World

8. API

Page 24: Turn your Google Spreadsheet into a custom web API - API World

8. API

Page 25: Turn your Google Spreadsheet into a custom web API - API World

8. API

Page 26: Turn your Google Spreadsheet into a custom web API - API World

9. DEPLOY AND CONSUME

Page 27: Turn your Google Spreadsheet into a custom web API - API World

SUMMARY

Like this feature? Give it a go with our simple tutorial: APISpark.com > Docs > Tutorials

3 mins recap video

Page 28: Turn your Google Spreadsheet into a custom web API - API World

KEEP IN TOUCH!

http://restlet.comhttp://blog.restlet.com

Twitter: @[email protected]

Leading web API platform


Top Related