Python wrapper for UPC Item DB API
Project description
===============
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"})
``
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
upc_item_db_api-0.1.1.tar.gz
(2.2 kB
view details)
File details
Details for the file upc_item_db_api-0.1.1.tar.gz
.
File metadata
- Download URL: upc_item_db_api-0.1.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c25b23ee338a5866418c254e749c5200efe1c7b058ee569ad4655abe1ee19698 |
|
MD5 | fabfb25d8e9da9f4cb41a2aa48eb8c0b |
|
BLAKE2b-256 | 15a6498bbdd610b3470714f9c3568f3dadf46af33f6133fa2f1857025c855acf |