Skip to content

netresearch/node-magento-eqp

Repository files navigation

Welcome to node-magento-eqp 👋

Version License: MIT Build status Documentation Twitter: Netresearch

Simple API wrapper around the Magento Marketplace EQP API

The primary focus of this package is, to provide a simple API wrapper and typings (unfinished) around the Magento Marketplace EQP API.

Install

yarn install @netresearch/node-magento-eqp

Usage

Usage in TypeScript (with ES Modules)

import * as MagentoEQP from '@netresearch/node-magento-eqp';

const eqp = new MagentoEQP.EQP();

async function main() {
  await eqp.authenticate('APP_ID', 'APP_SECRET');

  const packages = await eqp.getPackages();

  // Do something with the packages
}

main();

Usage in JavaScript (with CommonJS)

const MagentoEQP = require('@netresearch/node-magento-eqp');

const eqp = new MagentoEQP.EQP();

async function main() {
  await eqp.authenticate('APP_ID', 'APP_SECRET');

  const packages = await eqp.getPackages();

  // Do something with the packages
}

main();

Author

👤 TheDevMinerTV [email protected]

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!