Client
object Client
a singleton object to handle all of the http requests to the API
Functions
Link copied to clipboard
returns the ingredients seen on the image captured/uplaoded by the user
Link copied to clipboard
given a category (e.g beef, vegan, ...) it will fetch the meals from that category and append them to the list
Link copied to clipboard
gets a list of Meals that have the ingredient that the user chose
Link copied to clipboard
obtain the image data given the meal name. This does not return the image bitmap and must be done with using getImage
Link copied to clipboard
gets a random meal
Link copied to clipboard
similar to getRandomMeals but for several meals