Skip to main content

Magento 2 REST API SDK

Project description

m2-sdk

Magento 2 REST API SDK

Installation

pip install m2-sdk

Usage

from m2_sdk import M2Client, get_config
from m2_sdk.auth import AuthManager

config = get_config()
auth = AuthManager(config)
client = M2Client(config, auth)

# List products
products = client.products().limit(10).get()

Project details


Download files

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

Source Distribution

m2_sdk-0.1.0.tar.gz (52.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

m2_sdk-0.1.0-py3-none-any.whl (46.3 kB view details)

Uploaded Python 3

File details

Details for the file m2_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: m2_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 52.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for m2_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f16c5c617bcbd00176b88a0a4fbb0516c8e52604bfb9f2a9a8f0ed65ec14e584
MD5 17defb8c06b05eb0c672e52a113024ad
BLAKE2b-256 5bbef448dd02af598a72d2b123c46f7e7856d96936d74a9c6f7ad11d328c060d

See more details on using hashes here.

File details

Details for the file m2_sdk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: m2_sdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 46.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for m2_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ea1368e4072eb8d2526b5a9443b27e85dc19fa2fde580bf0e9620e444a9d0d3
MD5 83641854d7054449af2f2f76736779e6
BLAKE2b-256 6b4dcba041e204cc2e8b2a46bb4cf4cde5491564f411e358b781eddd64fbff53

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page