craftzing / node-akeneo-api

This is an unofficial Node client for the Akeneo PIM REST API.

Home Page:https://craftzing.github.io/node-akeneo-api/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node Akeneo API

Quality assurance Code style Test Coverage Maintainability Software License js-airbnb-style npm (scoped)

Akeneo API

This is an unofficial Node client for the Akeneo PIM REST API.

More info at Akeneo REST API reference

Note: not all endpoints are implements. Mostly only the GET are available. YMMV

πŸ”₯ Features

  • Easy typed access to your Akeneo environment via Typescript
  • Built in token handling
  • Helper function to get all products or product models easily

βš’οΈ Requirements

  • node.js (LTS)

πŸ§™ Installation

Using npm:

npm install @craftzing/akeneo-api

Using yarn:

yarn add @craftzing/akeneo-api

βš™οΈ Configuration

Authentication

Follow the instructions for your Akeneo version to get the required parameters:

Your first request

With es6 imports

import client from '@craftzing/akeneo-api';

const akeneo = client({
  url,
  username,
  password,
  clientId,
  secret,
  // Optionally you can also pass in axiosOptions which will be passed to the Axios instance
});

console.log(await akeneo.productModel.getAll({}));

πŸ“š Docs

πŸ“ Changelog

You can check the changelog on the releases page.

🀝 Support

If you have a problem with this library, please file an issue here on GitHub.

If you have other problems with Akeneo not related to this library, you can contact their Customer Support.

πŸ’™ Thanks to...

πŸ”‘ License

The MIT License (MIT). Please see License File for more information.

About

This is an unofficial Node client for the Akeneo PIM REST API.

https://craftzing.github.io/node-akeneo-api/

License:MIT License


Languages

Language:TypeScript 98.3%Language:JavaScript 1.6%Language:Shell 0.1%