Skip to content

eansearch/java-eansearch

Repository files navigation

EANSearch

Java class for EAN, GTIN, UPC and ISBN lookup and validation using the EAN-Search.org API.

Requirements

  • Java 21 (JDK)
  • Gradle (project includes a minimal wrapper shim)

Using the example

Environment

  • EAN_SEARCH_API_TOKEN - API token (required for the example)

Build

chmod +x ./gradlew
./gradlew clean build

Run example

export EAN_SEARCH_API_TOKEN="<your-token>"
# Basic example: prints a barcode lookup and a short product list
./gradlew run

Notes

  • The example reads the token from the environment and will exit with code 1 if not set.
  • The Gradle wrapper in this repository is a minimal shim. If you prefer, install Gradle locally and run gradle wrapper to generate a full wrapper.

About

A Java class for EAN, GTIN, UPC and ISBN name lookup and validation using the API on ean-search.org

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages