Skip to main content

Get UPC details from http://www.upcdatabase.org

Project description

UPCDB allows you to use the upcdatabase.org API to get UPC details.

To use:

from upcdb import UPCDB

upcdb = UPCDB(‘<API KEY>’)

upc = upcdb.get(‘<UPC’)

print upc.name

print upc.description

print upc.valid

print upc.price

print upc.description

print upc.ratingsup

print upc.ratingsdown

print upc.reason

print upc.todict()

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

upcdb-1.0.tar.gz (879 Bytes view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page