Python client for the Magento 2 API
Project description
PyMagento
PyMagento is a Python client for the Magento 2 API. Its goal is to provide an easy-to-use Pythonic interface to the Magento 2 API, while being lightweight and extendable.
Note: PyMagento is not affiliated to nor endorsed by Adobe or the Magento team.
Install
We support only Python 3.8+.
Pip
python -m pip install pymagento
Poetry
poetry add pymagento
Usage
import magento
client = magento.Magento(base_url="...", token="...", scope="all")
product = client.get_product("SKU123")
print(magento.get_custom_attribute(product, "description"))
For more information, read the docs.
License
Copyright 2020-2022 Bixoto.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pymagento-1.3.2.tar.gz
(14.4 kB
view hashes)
Built Distribution
pymagento-1.3.2-py3-none-any.whl
(15.7 kB
view hashes)
Close
Hashes for pymagento-1.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dce8f33264fc536f8cd01b8531e019eb78aca58056fac8efc99685321bb77831 |
|
MD5 | b0278a7af3b3cc5b9fc99c32234b4bb4 |
|
BLAKE2b-256 | 1a2d2c92b9dc8aac5a15858a7f44b74e550c7adcb8b04de18e4dc2e6d6bafaf5 |