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.2.0.tar.gz
(13.6 kB
view hashes)
Built Distribution
pymagento-1.2.0-py3-none-any.whl
(14.9 kB
view hashes)
Close
Hashes for pymagento-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bfccd48bcb2c62fea4b00f7df000a08404a38b3a8f5900fc82ab8886487035c |
|
MD5 | b5ca5683fd10b1599681aacae5fea5e7 |
|
BLAKE2b-256 | 9b56202f835242242ddd147be30a7c77e448c49a8510cf6a7dfd2955f98b7b43 |