/free-food-menus-api

Free API 🥪

Primary LanguageJavaScript

Introduce 🍺

APIs free with nearly 700 dishes and 15 menus. You can interact with them simply!


Our best menu 🍔

  • BBQ
  • Breads
  • Drinks
  • Ice cream
  • Porks
  • etc...

How to use? 🕵️

Because this api is built on top of Json Server you can use methods like sort, title_like, q, etc. 👏

🍩 Read more:

https://github.com/typicode/json-server#routes

🍞 Using:

https://tiny-blue-vulture-shoe.cyclic.app/<params>

🍕 Examples:

// Use fetch (Copy and paste to browser console to see result!)
fetch('https://tiny-blue-vulture-shoe.cyclic.app/burgers')
  .then((response) => response.json())
  .then((data) => console.log(data));

// What we have?
[
  {
    id: ...,
    img: ...,
    name: ...,
    dsc: ...,
    price: ...,
    rate: ...,
    country: ...
  },
  ...
]

🍣 Params bonus

// Get all data of existing dishes
/our-foods

// Pagination
/pagination

// And something look like
{
  bbqs: 59,
  best-foods: 60,
  ...
}

🍻 Usable params

/bbqs
/best-foods
/breads
/burgers
/chocolates
/desserts
/drinks
/fried-chicken
/ice-cream
/pizzas
/porks
/sandwiches
/sausages
/steaks
// And if you like any other menus or dishes, let's create a new issue
// I will try to add them as soon as possible. Enjoy!!