https://github.com/craftzing/node-akeneo-api
This is an unofficial Node client for the Akeneo PIM REST API.
https://github.com/craftzing/node-akeneo-api
akeneo javascript
Last synced: about 1 year ago
JSON representation
This is an unofficial Node client for the Akeneo PIM REST API.
- Host: GitHub
- URL: https://github.com/craftzing/node-akeneo-api
- Owner: craftzing
- License: mit
- Created: 2021-03-02T14:29:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-09T14:39:05.000Z (over 2 years ago)
- Last Synced: 2024-04-17T04:48:40.370Z (about 2 years ago)
- Topics: akeneo, javascript
- Language: TypeScript
- Homepage: https://craftzing.github.io/node-akeneo-api/
- Size: 1.05 MB
- Stars: 9
- Watchers: 4
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://craftzing.com)
[](https://github.com/craftzing/node-akeneo-api/actions/workflows/quality-assurance.yml)
[](https://github.com/craftzing/node-akeneo-api/actions/workflows/code-style.yml)
[](https://codeclimate.com/github/craftzing/akeneo-api/test_coverage)
[](https://codeclimate.com/github/craftzing/akeneo-api/maintainability)

[](https://github.com/airbnb/javascript/)

# Akeneo API
This is an unofficial Node client for the Akeneo PIM REST API.
More info at [Akeneo REST API reference](https://api.akeneo.com/api-reference-index.html)
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](https://nodejs.org/en/about/releases/))
## 🧙 Installation
Using npm:
```sh
npm install @craftzing/akeneo-api
```
Using yarn:
```sh
yarn add @craftzing/akeneo-api
```
## ⚙️ Configuration
### Authentication
Follow the instructions for your Akeneo version to get the required parameters:
- clientId/secret: [client-idsecret-generation](https://api.akeneo.com/documentation/authentication.html#client-idsecret-generation)
- username/password: [api-user-creation](https://api.akeneo.com/documentation/authentication.html#api-user-creation)
### Your first request
With es6 imports
```js
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
- [docs](https://craftzing.github.io/node-akeneo-api/)
## 📝 Changelog
You can check the changelog on the [releases](https://github.com/craftzing/node-akeneo-api/releases) page.
## 🤝 Support
If you have a problem with this library, please file an [issue](https://github.com/craftzing/akeneo-api/issues/new) here on GitHub.
If you have other problems with Akeneo not related to this library, you can contact their [Customer Support](https://www.akeneo.com/support/).
## 💙 Thanks to...
- [The entire Craftzing team](https://craftzing.com)
- [All current and future contributors](https://github.com/craftzing/node-akeneo-api/graphs/contributors)
## 🔑 License
The MIT License (MIT). Please see [License File](/LICENSE) for more information.