Giter Site home page Giter Site logo

openfoodfacts-go's Introduction

openfoodfacts-go

Build Status

About

This library is for accessing OpenFoodFacts data for food product, ingredients and nutritional data from within your go application.

Use of the OpenFoodFacts database is subject to the OpenFoodFacts Terms of Use, please read them before using this library in your application.

This library is copyright © 2019 OpenFoodFacts. All rights reserved. Use of this library is governed by the MIT license which can be found in the LICENSE.txt file.

Documentation

Package documentation

OpenFoodFacts API details

Go API wiki page

Usage details

This is a very simple example how to use the library in you go program.

package main

import (
	"github.com/openfoodfacts/openfoodfacts-go"
)

func main() {
	api := openfoodfacts.NewClient("world", "", "")
	product, err := api.Product("0737628064502")
}

There are runnable examples in the examples subdirectory.

Authors

Ken Allan

openfoodfacts-go's People

Contributors

norganna avatar areontar avatar sbinet avatar teolemon avatar ydeshayes avatar gghez 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.