Returns a list of food share points close to a given location
GET
/api/foodSharePoints/nearbyIf the location is not valid, the user's home location is used. The distance is measured in kilometers.
Authorizations
Parameters
Query Parameters
lat
Typestring
lon
Typestring
distance
Typestring
Responses
Success
Samples
cURL
curl -X GET http://localhost/api/foodSharePoints/nearby
JavaScript
fetch("http://localhost/api/foodSharePoints/nearby")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/foodSharePoints/nearby");
Python
import requests
response = requests.get("http://localhost/api/foodSharePoints/nearby")
print(response.json())