Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (30 sloc) 763 Bytes

pymagento

pymagento provides Python bindings for the Magento Core API.

Installation

pip install pymagento

Usage

import pymagento
api = pymagento.Magento("hostname", "api_user", "api_key")
category_id = api.category.create(1, {"name": "New Category"})
category_info = api.category.info(category_id)
arbitrary_product = api.product.list()[39]
api.category.assignProduct(arbitrary_product["id"])

Contents

.. toctree::
    :maxdepth: 1

    filtering
    multicall

Indices and tables