Skip to main content
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.

Download files

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

Source Distribution

prestaorm-0.0.4.tar.gz (5.6 kB view details)

Uploaded Source

File details

Details for the file prestaorm-0.0.4.tar.gz.

File metadata

  • Download URL: prestaorm-0.0.4.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for prestaorm-0.0.4.tar.gz
Algorithm Hash digest
SHA256 e13130257cafa6237902e19e6de54d6247a7cef56c327e10bc1cefbec179fa34
MD5 ec0312db4183573a28d9c2a8fb43fb96
BLAKE2b-256 65a66921136874059ab32a78c31a7deb46332cc6d2309832dbd0fad77a62915d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 file

0.0.2

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page