AskToni / asktoniapi

Life changing food recommendations
4 stars 1 forks source link

Basic Recommendation #31

Closed wfengk closed 6 years ago

wfengk commented 7 years ago

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?

RedTn commented 7 years ago

Sounds good, let's add paging/sorting etc. as well

wfengk commented 6 years ago

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)

RedTn commented 6 years ago

@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

RedTn commented 6 years ago

@wfengk Recommendation is also spelled 'Recomendation' in the endpoint