← Back to DAGDA | Support | Source: https://github.com/openfoodfacts/openfoodfacts-java-demo
Skip to content

About

Demo application using Java Wrapper for OpenFoodFacts

Topics

Resources

Security policy

Stars

3 stars

Watchers

4 watching

Forks

Latest commit

 

History

63 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo application using Java Wrapper for OpenFoodFacts

Java 11 or more recent is required to run the application

How to use

Add one dependency to your POM file - check the current version here

<dependencies>
    <dependency>
        <groupId>pl.coderion</groupId>
        <artifactId>openfoodfacts-java-wrapper</artifactId>
        <version>0.9.3</version>
    </dependency>
</dependencies>

Create wrapper object

OpenFoodFactsWrapper wrapper = new OpenFoodFactsWrapperImpl();
ProductResponse productResponse = wrapper.fetchProductByCode("737628064502");

About

Demo application using Java Wrapper for OpenFoodFacts

Topics

Resources

Security policy

Stars

3 stars

Watchers

4 watching

Forks

Sponsor this project

Packages

Used by

Contributors

Languages