Metadata-Version: 1.1
Name: py-google-shopping
Version: 0.2.2
Summary: Python client for Google Shopping API
Home-page: https://moatsystems.com
Author: Moat Systems Limited
Author-email: hi@moatsystems.com
License: MIT
Description: Py Google Shopping
        ==================
        
        .. image:: https://badge.fury.io/py/py-google-shopping.svg
            :target: https://badge.fury.io/py/py-google-shopping
            :alt: Package Version
        
        Python client for Google Content API for Shopping v2.1
        
        Installation
        -------------
        
        .. code-block:: bash
          
          pip install py-google-shopping
        
        Features
        ----------
        
        * Handles OAuth2 sanely through ENV variables
        * Handles pagination with iterators
        * Pads and adds checksum to GTIN of products automatically
        * Works well with Django and other frameworks
        
        
        Usage
        ------------
                
        Basic
        
        .. code-block:: bash
        
          export GOOGLE_SHOPPING_CLIENT_ID=my_client_id
          export GOOGLE_SHOPPING_CLIENT_SECRET=my_client_secret
          export GOOGLE_SHOPPING_REFRESH_TOKEN=my_refresh_token
        
        
        .. code-block:: python
        
          from google_shopping import Merchant
          merchant_id = '536476575676'
          merchant = Merchant(merchant_id, country_code='UK')
          
          # Get product resource
          product_resource = merchant.products.get(1234)
        
          # Get all products
          products = list(merchant.products.list())
        
          # Iterate through products (generator)
          for product in merchant.products.list():
              print product.title    
        
          # Delete product resource
          product = Product.objects.order_by('?').first()
          merchant.products.delete(product.id)
        
        License
        -------
        License stuff is `here`_.
        
        .. _here: https://moatsystems.com/mit/
        
        Support
        -------
        This version is a backport of the previous version by `Nam`_ Ngo. We'll continue to support it! 😉
        
        .. _Nam: https://pypi.org/project/python-google-shopping/
Keywords: google shopping content api merchant product python
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: DFSG approved
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries :: Python Modules
