Skip to main content

Python wrapper for UPC Item DB API

Project description


A python wrapper for the UPC Item DB API

The api is currently just in demo mode, so no api keys are required.

To install, run `pip install upc_item_db_api` or `easy_install upc_item_db_api`


# establish a connection
# (this will require an api key once the api is complete)
connection = Connection()

# perform a lookup via get
connection.lookup(upc="some valid upc")

# perform a lookup via post
connection.post_lookup(params={"upc": "some valid upc"})

# perform a search via get
# optional kwargs
# * brand
# * category
# * offset
# * item_type (default: "product")
# adding brand and category filter the results and will make the call much
# faster"some keywords")

# perform a search via post
connection.post_search(params={"s": "some keywords"})

Project details

Download files

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

Files for upc_item_db_api, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size upc_item_db_api-0.1.1.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page