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()
Metadata
Release files for upcdb 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| upcdb-1.0.tar.gz | 879 Bytes | Details |
Release files / upcdb-1.0.tar.gz
| Download URL | upcdb-1.0.tar.gz |
|---|---|
| Size | 879 Bytes |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cdd2c28ae43dc76278096699646c33c55288ffb8fc7fc512386b199164d5188a
|
|
BLAKE2b-256 checksum How to use checksums |
ae1e7828c000b38b63897f2093fa4c1b607589a5440dc67aad71585179f41a4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |