===============
upc_item_db_api
===============
A python wrapper for the UPC Item DB API
http://www.upcitemdb.com/api/explorer
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`
Usage
=====
``
# 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
connection.search(s="some keywords")
# perform a search via post
connection.post_search(params={"s": "some keywords"})
``
upc_item_db_api
===============
A python wrapper for the UPC Item DB API
http://www.upcitemdb.com/api/explorer
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`
Usage
=====
``
# 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
connection.search(s="some keywords")
# perform a search via post
connection.post_search(params={"s": "some keywords"})
``
Release files for upc_item_db_api 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| upc_item_db_api-0.1.1.tar.gz | 2.2 kB | Details |
Release files / upc_item_db_api-0.1.1.tar.gz
| Download URL | upc_item_db_api-0.1.1.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c25b23ee338a5866418c254e749c5200efe1c7b058ee569ad4655abe1ee19698
|
|
BLAKE2b-256 checksum How to use checksums |
15a6498bbdd610b3470714f9c3568f3dadf46af33f6133fa2f1857025c855acf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |