This is a module for using API like wrappers for getting food data for use in many projects. Just Like an database and fetch API in JS
Trello board with current tasks
npm install @groceristar/groceristar-fetch
or
yarn add @groceristar/groceristar-fetch
const { groceristar } = require('@groceristar/groceristar-fetch')
const departments = groceristar.getDepartments();
// returns an array of all departments
example
[
{
"name": "Fresh vegetables",
"type": "food"
},
{
"name": "Condiments / sauces",
"type": "food"
}
]
The above code can be re-written as
const { groceristar, search, chiCkenKyiv, mealCalendar } = require('@groceristar/groceristar-fetch');
console.log(groceristar.getDepartments());
console.log(search.getAttribute('diets'));
import { groceristar, mealCalendar } from '@groceristar/groceristar-fetch'
To Find out about all the functionality use https://groceristar.github.io/groceristar-fetch/.
Explore tools that community has
- https://github.com/jdorfman/awesome-json-datasets
- https://exchangeratesapi.io/
- https://github.com/burningtree/awesome-json
- https://github.com/chrisdone/jl
- https://github.com/konsultaner/jsonOdm
- https://github.com/awesomedata/awesome-public-datasets
- https://fixer.io/
npm test
@vadim9999, @MinkoJ2, @chauhannishith, @atherdon, @GuiFSs, @kraftaa, @aanchirinah
Created with help of this articles: