Messtone LLC Manages(GPSTUNER):With this token Messtone can call further api functions

Messtone Devices Enables further api functions HTTP Request https://api.gpstuner.com/oauth/token Method GET Parameter client_id clientid client_secret client secret grant_type grant type Response {“access_token”:”64bUO16JnaaFk1A6QkbQE9vTdoaKaYEXaoLdstRf”,”Bearer”,”expires_in”:86400,”refresh_token”:”pjXjgakfBduI 6yaGfsn4BiHW2bBapZGQaG1PZuQV”}Example https://api.gpstuner.com/oauth/token?client_id=CLIENT_ID&client_secret=CLIENT_SECRET&grant_type=GRANT_TYPE Plan Route HTTP Request https://api.gpstuner.com/api/planroute Method GET Parameter latestart latitude of start point lonstart longitudinal of start point latend latitude of end point lonend longitude of end point wps lat1,lon1|lat2,lon2|…|latn,lonn list of waypoints of route planning.Multiple Destination Example 49.467,11.082|49.597,11.104|49.597,11.004 vehicleType 0=bicycle 1=mtb 2=speed 3=pedestrain 4=kickscooter routeplanmode -1=suggested,easiet and shortest 0=suggested 1=easiest 2=shortest optional parameters,default is -1 majorroadweight 0=trytoavoid 1=roadtypeweight_allow 2=roadtypeweight_prefer unpavedroadweight 0=trytoavoid 1=roadtypeweight_allow 2=roadtypeweight_prefer cycleroadweight 0=trytoavoid 1=rodtype_allow 2=roadtypeweight_perfer Response {result”:[{“routeplanmode”:0,”point”:[{“lat”:49.467626,”lon”:11.082157,”alt”:322.108398,”soc”:55.000000},{“lat”:49.467314,”lon”:11.082157,”alt”:322.560547,”turn”:”TURN_COMB_RIGHT_RIGHT”,”soc”:54.965351},{“lat”:49.467316,”lon”:11.081618,”alt”:321.775391,”turn”:”TURN_COMB_RIGHT_LEFT”,”soc”:54.965352},{“lat”:49.467642,”lon”:11.081577,”alt”:321.242188,”turn”:”TURN_COMB_LEFT_RIGHT”,”soc”:54.965351},{“lat”:49.467640,”lon”:11.081438,”alt”:321.041016,”turn”:”TURN_RIGHT”soc”:54.965351….]},{“routeplanmode”:1,”points”:[…]},{“routeplanmode”:2,”points”:[…]}]}

Leave a comment