Metadata-Version: 1.1
Name: prestaorm
Version: 0.0.2
Summary: Access to prestashop API using django similar ORM Syntax
Home-page: https://github.com/josesanch/prestaorm
Author: José Sánchez Moreno
Author-email: jose@o2w.es
License: MIT
Description: PRESTASHOP Apis based on django ORM
        =====================================
        
        What's that?
        -----------
        
        Is a library to connect with the apis of a prestashop website.
        
        
        How to use
        ----------
        
        In a similar way to django orm
        
        Using it 
        ---------------
        
        .. code-block:: python
           
           # Configure
           from prestaorm.service import Api
           Api.config(url, key)
                        
           # Use the api
           from prestaorm.models import Product
                        
           # Get a list of instances of products
           products = Product.objects.filter(name="Product%").sort_by("name")
        
           # Get one instance
           product, _ = Product.objects.get_or_create(name="Product1", reference="REF1")                
           product.price = 8  
           product.save()             
        
        
        Work in progress
        -------------------
        This is a work in progress. I'm implementing only the models that I would need. Extra help is welcome.
        
        
Platform: All platforms
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Python Software Foundation License
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python
