Skip to main content
Help us improve Python packaging – donate today!

Access to prestashop API using django similar ORM Syntax

Project 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 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.

Release history Release notifications

This version
History Node

0.0.4

History Node

0.0.2

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
prestaorm-0.0.4.tar.gz (5.6 kB) Copy SHA256 hash SHA256 Source None Jul 23, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page