VIAMICHELIN JAVASCRIPT API


Loading

Prerequisite

This documentation requires a good knowledge with JavaScript language.

Before starting, you must have an authentication KEY. You can get your key by submitting us a request with the registration form. Your files must be called by a server which URL has been mentionned on the form.

Loading of JSAPI

To load the APIJS ViaMichelin , use the script tag on the following example, on the head tag of your HTML code, with your KEY number and the language used.(refer to the parameters on the table below).

  • HTTP

<script src="http://apijsv2.viamichelin.com/apijsv2/api/js?key=KEY&
lang=LANG" type="text/javascript"> </script>

  • HTTPS

<script src="https://secure-apijs.viamichelin.com/apijsv2/api/js?key=KEY&
lang=LANG&protocol=https" type="text/javascript"> </script>

Then you will be able to use all the components of APIJS.

The authentication KEY :

 

The parameter key correspond to an authentication key provided by Michelin when you subscribe to the service.

 

The API language :

The lang parameter correspond to the language you chose to use the Api. It is an ISO code with 3 letters.

Here is the code available :

ces

Czech

dan

Danish

deu

German

eng

English

fin

Finnish

fra

French

ita

Italian

nld

Dutch

nor

Norwegian

pol

Polish

ron

Romanian

por

Portuguese

spa

Spanish

swe

Swedish

tur

Turkish