Skip to content

Instantly share code, notes, and snippets.

@larsschenk
Last active January 17, 2020 20:01
Show Gist options
  • Save larsschenk/fe7cf93fdd53ac637d29258806f924ea to your computer and use it in GitHub Desktop.
Save larsschenk/fe7cf93fdd53ac637d29258806f924ea to your computer and use it in GitHub Desktop.
ActiveBarcode REST API call with wget
wget --output-document=code128.jpg --quiet \
"https://api.activebarcode.net/v1/png?text=Hello%20World%21&typeno=14&width=500&height=100&access=YOUR-KEY-HERE"
#
# Or use simply use the ActiveBarcodeCLI
# as found @ https://github.com/larsschenk/ActiveBarcodeCLI
# Install with
# brew install schenk/barcode/activebarcodecli
#
ActiveBarcodeCLI --text='Hello World!' --type=14 --width=500 --height=100 code128.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment