Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Rest API sample - ViaMichelin

This sample shows how to use a ViaMichelin REST API with the ScaleDynamics WarpJS SDK. This API is for tailor-made journey calculations, with unique Michelin content services. In this sample we will use this API to indicate the best restaurants at 10 km of the current location.

For more info about the API, refer to https://api.viamichelin.com/

Setup

Install

  • Clone the project
  • Go to the warp-samples/viamichelin directory
  • Run the following commands:
# install deps
$ npm install

# login to ScaleDynamics
$ npx warp login

Get your ViaMichelin API key

Run

# run a dev server
$ npm run dev

# build and deploy to production
$ npm run build
$ npm run deploy

Resources