Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

This is a API written in Python using only the built in libraries. It has 2 get methods and 3 post methods:

-Get Methods

  • /listMeals

    Lists all the meals in the dataset in json format

  • /getMeal, params = id

    Lists a meal that shares the id number of the parameter -POST Methods

  • /quality params = id,,...

    Returns the average quality of the ingredients of a meal that shares the id number of the parameter if no quality parameter is given, it is assumed the ingredient has the highest quality

  • /price params = id,,...

    Returns the total ingredient cost of a meal that shares the id number of the parameter.

  • /random

    Lists a meal with randomized ingredient qualities.

About

Otsimo internship interview assignment.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages