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()
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)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdd2c28ae43dc76278096699646c33c55288ffb8fc7fc512386b199164d5188a
|
|
| MD5 |
a4f9ba58b7c4cc87625dfd89827c270e
|
|
| BLAKE2b-256 |
ae1e7828c000b38b63897f2093fa4c1b607589a5440dc67aad71585179f41a4c
|