Metadata-Version: 1.0
Name: tiendanube
Version: 1.1
Summary: UNKNOWN
Home-page: https://github.com/catalanojuan/tiendanube-python
Author: Juan Catalano
Author-email: catalanojuan@gmail.com
License: MIT
Download-URL: https://github.com/catalanojuan/tiendanube-python/tarball/1.1
Description: tiendanube-python
        =================
        
        .. image:: https://travis-ci.org/catalanojuan/tiendanube-python.png?branch=master   
           :target: https://travis-ci.org/catalanojuan/tiendanube-python
        
        TiendaNube API Python Client.
        
        Install
        -------
        
        Just ``pip install tiendanube``.
        
        Usage
        -----
        
        Query list of products::
        
            > api_key = 'API_KEY'
            > from tiendanube import NubeClient
            > client = NubeClient(api_key)
            > store = client.get_store(1)
            > [p.name.es for p in store.products.list()]
            [u'Mi primer producto',
             u'Probando publicaci\xf3n',
             u'hola',
             u'Producto de Prueba']
        
        Query one product in particular::
        
            > api_key = 'API_KEY'
            > from tiendanube import NubeClient
            > client = NubeClient(api_key)
            > store = client.get_store(1)
            > p = store.products.get(911)
            > p.name.es
            u'Mi primer producto'
        
        Query images for a given product::
        
            > api_key = 'API_KEY'
            > from tiendanube import NubeClient
            > client = NubeClient(api_key)
            > store = client.get_store(1)
            > p = store.products.get(911)
            > [i.src for i in p.images.list()]
            [u'http://example.com/image.jpg']
        
        Development
        -----------
        
        Running tests::
        
            $ python -m tests.run
        
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
