Repository
Current version released
4 years ago
Versions
Yummy :shallow_pan_of_food: π π¦
A simple wrapper themealdb.com API for Deno π¦
How to use? π€
import {
getRandomMeal,
getCategories,
getFilterByCat,
getMainIngerdient,
getListArea,
getListCategories,
getListIngredient
} from "https://deno.land/x/yummy/mod.ts"
// Get data random meal
console.log(await getRandomMeal())
// Get data's of categories
console.log(await getCategories())
// Get data by filter of the specific category
console.log(await getFilterByCat("seafood"))
// Get data recipe
console.log(await getMainIngerdient("chicken_breast"))
// Get data list available area
console.log(await getListArea())
// Get data list available category
console.log(await getListCategories())
// Get data list available ingredient
console.log(await getListIngredient())
How to run it ? π€
deno run --allow-net ./example/index.ts
How to test it ? π€
deno test --allow-net ./test/test.ts
Author
@Satyawikananda Β©2020