Look Up Meals Using API-Assigned IDs
Learn how we can use the API-assigned IDs to look up meals.
We'll cover the following
We can use the API-assigned IDs of meals to access recipes for meals directly. In this lesson, we’ll look at how to use these IDs to fetch recipes.
Fetch required info using ID
TheMealDB API provides an endpoint with which we can search for the recipes using API-assigned IDs. The base URI for this endpoint is https://www.themealdb.com/api/json/v1/1/lookup.php
.
Request parameter
This endpoint has only one query parameter, which is as follows:
Get hands-on with 1200+ tech skills courses.