Skip to main content

CLI for Akeneo API

Project description

Akeneo CLI

You'll need to get an app credentials for Akeneo as explain here

This package use generic calls to Akeneo api. To know the list of available endpoints and how the API work please refer to the official documentation

CLI

The CLI itself is a work in progress. Currently only the product can be retrieved with a command like.

akeneo get product

Code

import akeneo_cli

akeneo_client = AkeneoClient(
    os.getenv(AKENEO_URL),
    os.getenv(AKENEO_CLIENT_ID),
    os.getenv(AKENEO_CLIENT_SECRET),
)

with akeneo_client.login(os.getenv(AKENEO_USERNAME), os.getenv(AKENEO_PASSWORD)) as session:
  product_list = session.get("products")

  product = session.get("products", code="my-product")

  product-model = session.get("product-models", code="some-model")

  session.patch()

  session.post()

  session.bulk

  session.put_file()

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

akeneo-cli-1.0.6.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

akeneo_cli-1.0.6-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file akeneo-cli-1.0.6.tar.gz.

File metadata

  • Download URL: akeneo-cli-1.0.6.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for akeneo-cli-1.0.6.tar.gz
Algorithm Hash digest
SHA256 b9d5ef8682e59a513205820655930dd5843db4ce4b07f3df24fbabf654fda81f
MD5 d8b8f1ef3bcd1283fedf792d593e2af6
BLAKE2b-256 625b3ac5cdbb2475ade3da12aa1681b07b7f7aabf407d2f5346fa394b4973994

See more details on using hashes here.

File details

Details for the file akeneo_cli-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: akeneo_cli-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for akeneo_cli-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8d0f2f22f455c30278120fe406108b7be50410755501ce2c520e643370b4b8fd
MD5 0da6c6e593a5f69a0725b1976cf15e48
BLAKE2b-256 4aeae11af1d3ae2e4301af16d8902e4f0aeab683e4e4c2d19af8c33623ce97db

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