mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-21 14:35:01 +00:00
Commit from m3o/m3o action
This commit is contained in:
13
curl/routing/directions/turnByTurnDirections.sh
Executable file
13
curl/routing/directions/turnByTurnDirections.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
curl "https://api.m3o.com/v1/routing/Directions" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $M3O_API_TOKEN" \
|
||||
-d '{
|
||||
"destination": {
|
||||
"latitude": 52.529407,
|
||||
"longitude": 13.397634
|
||||
},
|
||||
"origin": {
|
||||
"latitude": 52.517037,
|
||||
"longitude": 13.38886
|
||||
}
|
||||
}'
|
||||
13
curl/routing/eta/etaFromPointAToPointB.sh
Executable file
13
curl/routing/eta/etaFromPointAToPointB.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
curl "https://api.m3o.com/v1/routing/Eta" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $M3O_API_TOKEN" \
|
||||
-d '{
|
||||
"destination": {
|
||||
"latitude": 52.529407,
|
||||
"longitude": 13.397634
|
||||
},
|
||||
"origin": {
|
||||
"latitude": 52.517037,
|
||||
"longitude": 13.38886
|
||||
}
|
||||
}'
|
||||
13
curl/routing/route/gpsPointsForARoute.sh
Executable file
13
curl/routing/route/gpsPointsForARoute.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
curl "https://api.m3o.com/v1/routing/Route" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $M3O_API_TOKEN" \
|
||||
-d '{
|
||||
"destination": {
|
||||
"latitude": 52.529407,
|
||||
"longitude": 13.397634
|
||||
},
|
||||
"origin": {
|
||||
"latitude": 52.517037,
|
||||
"longitude": 13.38886
|
||||
}
|
||||
}'
|
||||
Reference in New Issue
Block a user