Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-10-29 10:32:59 +00:00
parent 0a3298c33b
commit c5c2867dc3
127 changed files with 895 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
curl "https://api.m3o.com/v1/evchargers/ReferenceData" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{}'

View File

@@ -0,0 +1,16 @@
curl "https://api.m3o.com/v1/evchargers/Search" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"box": {
"bottom_left": {
"latitude": 51.52627543859447,
"longitude": -0.03635349400295168
},
"top_right": {
"latitude": 51.56717121807993,
"longitude": -0.002293530559768285
}
},
"max_results": 2
}'

View File

@@ -0,0 +1,11 @@
curl "https://api.m3o.com/v1/evchargers/Search" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"distance": 2000,
"location": {
"latitude": 51.53336351319885,
"longitude": -0.0252
},
"max_results": 2
}'

View File

@@ -0,0 +1,14 @@
curl "https://api.m3o.com/v1/evchargers/Search" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"distance": 2000,
"levels": [
"3"
],
"location": {
"latitude": 51.53336351319885,
"longitude": -0.0252
},
"max_results": 2
}'