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 details)

Uploaded Source

File details

Details for the file upcdb-1.0.tar.gz.

File metadata

  • Download URL: upcdb-1.0.tar.gz
  • Upload date:
  • Size: 879 Bytes
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for upcdb-1.0.tar.gz
Algorithm Hash digest
SHA256 cdd2c28ae43dc76278096699646c33c55288ffb8fc7fc512386b199164d5188a
MD5 a4f9ba58b7c4cc87625dfd89827c270e
BLAKE2b-256 ae1e7828c000b38b63897f2093fa4c1b607589a5440dc67aad71585179f41a4c

See more details on using hashes here.

Supported by

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