So you want to build a website for cocktail recipes. You expect your users to search by drink name or ingredient, and get a few recipes based on what they pick?
How do you build this without writing up hundreds of cocktail recipes, and structuring the data in a database, and create all the logic to access the data?
The answer is to use an API. Since someone has already created the data for you to use.
In this article, we’ll be introducing you to the world of APIs. We’ll talk about what they are, why they’re useful, and how to use them. By the end of this article, you should have a good understanding of what APIs are and be able to understand why you would use them in your own projects.
https://www.ayrshare.com/what-is-an-api-a-comprehensive-beginners-guide-and-mini-tutorial/