https://github.com/netresearch/node-magento-eqp
Simple API wrapper around the Magento Marketplace EQP API
https://github.com/netresearch/node-magento-eqp
api-wrapper eqp magento nodejs typescript
Last synced: 5 months ago
JSON representation
Simple API wrapper around the Magento Marketplace EQP API
- Host: GitHub
- URL: https://github.com/netresearch/node-magento-eqp
- Owner: netresearch
- License: mit
- Created: 2021-03-31T09:13:35.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2026-02-26T06:56:22.000Z (5 months ago)
- Last Synced: 2026-02-26T11:44:38.935Z (5 months ago)
- Topics: api-wrapper, eqp, magento, nodejs, typescript
- Language: TypeScript
- Homepage: https://netresearch.github.io/node-magento-eqp
- Size: 1.05 MB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# @netresearch/node-magento-eqp
[](https://www.npmjs.com/package/@netresearch/node-magento-eqp)
[](https://github.com/netresearch/node-magento-eqp/actions/workflows/lint.and.build.yml)
[](https://github.com/netresearch/node-magento-eqp/actions/workflows/codeql.yml)
[](https://github.com/netresearch/node-magento-eqp/blob/main/LICENSE)
[](https://nodejs.org)
[](https://www.typescriptlang.org/)
[](https://netresearch.github.io/node-magento-eqp)
TypeScript API wrapper for the [Adobe Commerce Marketplace EQP API](https://developer.adobe.com/commerce/marketplace/guides/eqp/v1/).
## Installation
```sh
yarn add @netresearch/node-magento-eqp
```
or
```sh
npm install @netresearch/node-magento-eqp
```
## Usage
### TypeScript (ES Modules)
```typescript
import { EQP } from '@netresearch/node-magento-eqp';
const eqp = new EQP({
appId: 'YOUR_APP_ID',
appSecret: 'YOUR_APP_SECRET',
environment: 'sandbox' // or 'production' (default)
});
const packages = await eqp.packageService.getPackages();
```
### JavaScript (CommonJS)
```javascript
const { EQP } = require('@netresearch/node-magento-eqp');
(async () => {
const eqp = new EQP({
appId: 'YOUR_APP_ID',
appSecret: 'YOUR_APP_SECRET'
});
const packages = await eqp.packageService.getPackages();
console.log(packages);
})();
```
### Available services
| Service | Description |
| ----------------- | ------------------------------------------ |
| `packageService` | List and retrieve extension/theme packages |
| `fileService` | File upload metadata |
| `userService` | User profile management |
| `keyService` | Magento access keys (M1/M2) |
| `callbackService` | Webhook registration and event enrichment |
| `reportService` | Marketplace analytics (experimental) |
### Constructor options
| Option | Type | Default | Description |
| ------------- | --------------------------- | -------------- | --------------------------- |
| `appId` | `string` | _required_ | Your EQP application ID |
| `appSecret` | `string` | _required_ | Your EQP application secret |
| `environment` | `'production' \| 'sandbox'` | `'production'` | API environment |
| `autoRefresh` | `boolean` | `false` | _Reserved for future use_ |
| `expiresIn` | `number` | `360` | _Reserved for future use_ |
| `adapter` | `Adapter` | `FetchAdapter` | Custom HTTP adapter |
## API documentation
Full API documentation is available at [netresearch.github.io/node-magento-eqp](https://netresearch.github.io/node-magento-eqp).
## Related packages
- [`@netresearch/node-red-contrib-magento-eqp`](https://github.com/netresearch/node-red-contrib-magento-eqp) — Node-RED nodes for Magento EQP callbacks
## Contributing
Contributions, issues, and feature requests are welcome. See the [contributing guide](CONTRIBUTING.md) for details.
## License
[MIT](LICENSE) - Netresearch DTT GmbH