VIAMICHELIN REST API


ALL REST API EXAMPLES

You will find here all examples made with the REST API.

FunctionExample
bestmap http://apir.viamichelin.com/apir/1/bestMap.xml/6.1:45.8:6.2:46.0/800:600/fra?
authkey=YOUR_KEY
open in new tab
map http://apir.viamichelin.com/apir/1/map.xml/6.1:45.8:9/800:600/fra?authkey=YOUR_KEYopen in new tab
mapbyid http://apir.viamichelin.com/apir/1/mapById.xml/-tabn6tbf76gjbp/800:600/fra?
authkey=YOUR_KEY
open in new tab
mapofpoi http://apir.viamichelin.com/apir/1/mapofpoi.xml/167899:ND122/800:600/fra?
authkey=YOUR_KEY
open in new tab
mapofplace http://apir.viamichelin.com/apir/1/mapOfPlace.xml/3bMGhSRVBfVk1fMDAwMDAw/800:600/
fra?authkey=YOUR_KEY
open in new tab
pixeltoxy http://apir.viamichelin.com/apir/1/pixelsToXY.xml/-t25tgc11eaf9bp/800:600/?coords=400:300&authkey=YOUR_KEYopen in new tab
xytopixel http://apir.viamichelin.com/apir/1/xyToPixels.xml/-t25tgc11eaf9bp/800:600/?coords=6.13:45.9198&authkey=YOUR_KEYopen in new tab
geocode1f http://apir.viamichelin.com/apir/1/geocode1f.xml?query=14%20quai%20de%20la%20somme%2080000%20Amiens&lg=fra&
authkey=YOUR_KEY
open in new tab
geocode3f http://apir.viamichelin.com/apir/1/geocode3f.xml?country=fra&cityzip=lyon%2069004&authkey=YOUR_KEYopen in new tab
geocode4f http://apir.viamichelin.com/apir/1/geocode4f.xml?country=fra&city=paris&zip=75012&authkey=YOUR_KEYopen in new tab
http://apir.viamichelin.com/apir/1/geocode4f.xml?country=fra&city=paris&
address=49%20avenue%20de%20wagram&authkey=YOUR_KEY
open in new tab
location http://apir.viamichelin.com/apir/1/location.xml/34MTE1YXIyMmkxNzM3LjA0Mz
BpcTEwNTRjdzB2Y0?lg=fra&authkey=YOUR_KEY
open in new tab
rgeocode http://apir.viamichelin.com/apir/1/rgeocode.xml?center=6.13:45.9198&
authkey=YOUR_KEY
open in new tab
route http://apir.viamichelin.com/apir/1/route.xml/fra?steps=1:e:2.0:48.0;1:e:3.0:49.0&
authkey=YOUR_KEY
open in new tab
findinputpoi http://apir.viamichelin.com/apir/1/findInputPOI.xml?center=6.13:45.9198&
inputpoi=A:6.11:45.9197;B:6.12:45.9197;C:6.14:45.91979&authkey=YOUR_KEY
open in new tab
findinputpoibyroad http://apir.viamichelin.com/apir/1/findInputPOIByRoad.xml?lg=fra&
inputpoi=AZ1:6.13:45.9198;AZ3:6.15:45.918&center=6.13:45.9198&authkey=YOUR_KEY
open in new tab
findpoi http://apir.viamichelin.com/apir/1/findpoi.xml?db=163978&lg=fra¢er=5.38577:43.31134&authkey=YOUR_KEYopen in new tab
findpoibycriteria http://apir.viamichelin.com/apir/1/findPOIByCriteria.xml?db=163978&lg=fra
&authkey=YOUR_KEY
open in new tab
findpoibyroad http://apir.viamichelin.com/apir/1/findPOIByRoad.xml?db=163978&lg=fra&center=5.38577:43.31134&authkey=YOUR_KEYopen in new tab
findpoinearroute http://apir.viamichelin.com/apir/1/findPOINearRoute.xml?lg=fra&db=163978
&nb=10&steps=1:e:1.90091:47.89950;1:e:2.35083:48.85666&authkey=YOUR_KEY
open in new tab
poi http://apir.viamichelin.com/apir/1/poi.xml/163978:ND1216/fra?authkey=YOUR_KEYopen in new tab
weather http://apir.viamichelin.com/apir/1/weather.xml?lg=fra&charset=UTF-8&geobounds=2.13:45.9198:6.00:48.00&zoomLevel=10&authkey=YOUR_KEYopen in new tab
token https://apir.viamichelin.com/apir/1/token.xml?login=YOUR_ID&password=YOUR_PWD&duration=20&authkey=YOUR_KEYopen in new tab

MICHELIN Guides

FunctionExample
findPoi

Find 30 hotels from MICHELIN Guide at a maximum distance of 1.5 km around Paris 75000.

Preferred language: English.

http://apir.viamichelin.com/apir/1/findPOI.xml?db=166881&center=2.35:48.85&dist=2000&nb=30&lg=fra&charset=UTF-8 &ie=UTF-8&authKey=YourAuthKeyopen in new tab
findPoi

Find 10 restaurants from MICHELIN Guide at a maximum distance of 1 km arround Paris, 75000. 

Prefered language: English.

http://apir.viamichelin.com/apir/2/findPoi.xml/RESTAURANT/eng?center=2.35:48.85&nb=10&dist=1000&source=RESGR& filter=AGG.provider%20eq%20RESGR&charset=UTF-8&ie=UTF-8&authKey=YourAuthKeyopen in new tab

 

MICHELIN Travel Contents

FunctionExample
findPoi

Find 30 Points of interest from MICHELIN Travel database at a maximum distance of 2 km arround Paris (result in french and output in xml)

http://apir.viamichelin.com/apir/2/findPoi.xml/HOTEL/eng?center=2.35:48.85&nb=30&dist=1500&source=HOTGR &filter=AGG.provider%20eq%20HOTGR&charset=UTF-8&ie=UTF-8&authKey=YourAuthKeopen in new tab
findPoi

Same request as last request, but the result in json.

http://apir.viamichelin.com/apir/1/findPOI.json2?db=166881&center=2.35:48.85&dist=2000&nb=30&lg=fra&charset=UTF-8&ie=UTF-8&authKey=YourAuthKey open in new tab
findPoi

Find 10 Points of interest from MICHELIN Travel database at a maximum distance of  30 km arround Paris. Only those Worth a detour **.  (result in french and output in xml)

http://apir.viamichelin.com/apir/1/findPOI.xml?db=166881&center=2.35:48.85& dist=30000&nb=10&lg=fra&charset=UTF-8&ie=UTF-8&c1=2&authKey=YourAuthKeyopen in new tab

findPoi

Find 5 Points of interest from MICHELIN Travel database at a maximum distance of  50 km arround Paris. Only those Worth a journey *** and the type is Historical and civil architecture.  (result in french and output in xml)

http://apir.viamichelin.com/apir/1/findPOI.xml?db=166881&center=2.35:48.85&dist=50000&nb=5&lg=fra&charset=UTF-8&ie=UTF-8&c1=3&c6=1&authKey=YourAuthKeyopen in new tab