Added custom header
Name
,Contact
Endpoints:
BASE URL : https://hrishikesh-flipr-task.herokuapp.com
- post point for getting latest 30 devices' latest 50 location
POST /api/latest_locations
response in format
{
"device_id_1" : [...],
"device_id_2" : [...],
...
}
- post point for getting coordinates of posted array of addresses using google geocoding api
POST /api/get_coordinates/
response in format
[
{
"add": "address_1",
"location" : [0.2, 21.3]
},
...
]
.env
file is present in this root dir which is not pushed as it contain google api key.
But following is the content of .env
file:
PORT=5000
GOOGLE_GEOCODE_API_KEY=