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 hashes)