Closed wfengk closed 6 years ago
Sounds good, let's add paging/sorting etc. as well
Hey @RedTn
Added recommendation (with paging and sorting) to Staging
Can you add the functionality to the client?
http://asktoniapi-staging.azurewebsites.net/swagger/#/
Sample parameters: latitude: 49.2827 longitude: -123.1207 category: Pizza pageOffset: 0 (optional) pageLimit: 5 (optional) sort: 1 (optional)
@wfengk I'm not sure how the sort works as an integer param, but I could skip that for now. What are all the possible values for category and the max/min values for lat/lng
@wfengk Recommendation is also spelled 'Recomendation' in the endpoint
Hey @RedTn,
I'm implementing the first iteration of the recommendation algorithm. I'm thinking it will look like this: There will be a new endpoint in the API for recommendations
Input (from client):
Output:
List of Restaurant objects
Thoughts?