elze / FoodTruckAssignment

API for finding the 5 nearest to you food trucks in San Francisco by latitude and longitude

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FoodTruckAssignment

API for finding the 5 nearest to you food trucks in San Francisco by latitude and longitude

This API has only one method, GET, that takes the user's latitude and longitude and returns a JSON object with 5 food trucks or carts in San Fransciso that are nearest to the given latitude and longitude.

You can call it like this:

https://<path_to_your_server>/api/location/37.7821537000728/-122.406600072176

To run this project, edit FoodTruckAssignment/FoodTruckAssignment/appsettings.json and replace the path to Mobile_Food_Facility_Permit.csv file with your own path to this file on your server.

About

API for finding the 5 nearest to you food trucks in San Francisco by latitude and longitude


Languages

Language:C# 100.0%