Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 881 Bytes

README.md

File metadata and controls

28 lines (15 loc) · 881 Bytes

Examples

Here examples of queries and integration of server with the different platforms are shown.

Example queries were run using a map of Estonia. Below, the URLs used to get example results and the links to the response are listed.

Search V1

Query: http://localhost:8553/v1/search?limit=10&search=Tallinn ; Result: search_v1

Search V2

Query: http://localhost:8553/v2/search?limit=3&search=tartu mnt 1, tallinn ; Result: search_v2

List of available POI types

Query: http://localhost:8553/v1/poi_types ; Result: poi_types

Guide

Query: http://localhost:8553/v1/guide?radius=1000&limit=3&poitype=cafe&name=kohvik&search=pühavaimu, tallinn ; Result: guide

Route V1

Query: http://localhost:8553/v1/route?p[0][search]=Tallinn&p[1][search]=Tartu ; Result: route_v1