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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page