Skip to content

Python app that gets a barcode via http request (via Google Cloud Function) and gets product info from Open Food Facts API. Result is parsed and written in a list using second cloud func, available via url link.

Notifications You must be signed in to change notification settings

xvaleriex/barcode-scan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

barcode-scan

Python app that gets a barcode via http request (via Google Cloud Function) and gets product info from Open Food Facts API. Result is parsed and written in a list using second cloud func, available via url link.

WIP: Currently, addidng a database to a solution.

Prerequisites

To run:

gcloud beta functions deploy main --runtime python37 --trigger-http

curl -X POST -H "Content-Type:application/json" -d '{"barcode": "737628064502"}'

About

Python app that gets a barcode via http request (via Google Cloud Function) and gets product info from Open Food Facts API. Result is parsed and written in a list using second cloud func, available via url link.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages