yummy

A simple wrapper themealdb.com API for Deno ๐Ÿฆ•.

https://github.com/satyawikananda/yummy

example

src

test

LICENSE

Readme.md

const.ts

mod.ts

Yummy :shallow_pan_of_food: :pizza: ๐Ÿฆ•

License: MIT

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