This is a set of simple samples written in Python, which provide a minimal example of Google Shopping integration within a command line application.
This starter project provides a great place to start your experimentation into the Google Content API for Shopping.
Please make sure that you've installed the Google APIs Client Library for Python, the Google Auth Python Library, google-auth-oauthlib, and google-auth-httplib2. The samples should be compatible with both Python 2 and Python 3.
For your convenience, you can run the following command from this directory to install all needed dependencies via pip:
$ pip install -r requirements.txt
If you have not already done so, please read the top-level README
to discover
how to set up both authentication and the common sample configuration. The rest
of this document assumes you have performed both tasks.
We are assuming you've checked out the code and are reading this from a local directory. If not, check out the code to a local directory.
-
Start up a sample:
$ python -m shopping.content.products.list
-
Examine your shell output, be inspired and start hacking an amazing new app!