Giter Site home page Giter Site logo

kraftaa / groceristar-fetch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from groceristar/groceristar-fetch

0.0 2.0 0.0 2.15 MB

json arrays for Food Tech projects

Home Page: https://groceristar.github.io/groceristar-fetch/

License: GNU General Public License v3.0

JavaScript 100.00%

groceristar-fetch's Introduction

Groceristar-fetch module

Table of Contents

Synopsis

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

Build Status npm version Coverage Status

Additional information

Introduction Article

Trello board with current tasks

Documentation Website

Sandbox Editor

Installation

npm install @groceristar/groceristar-fetch

or

yarn add @groceristar/groceristar-fetch

Code Example

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


Tests

npm test


Contributors

@vadim9999, @MinkoJ2, @chauhannishith, @atherdon, @GuiFSs, @kraftaa, @aanchirinah

Credits

Created with help of this articles:

groceristar-fetch's People

Contributors

atherdon avatar vadim9999 avatar dependabot-support avatar guifss avatar kraftaa avatar chauhannishith avatar avuidrauxs avatar aanchirinah avatar minkoj2 avatar seenivasanseeni avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.