Socket
Book a DemoInstallSign in
Socket

channelengine

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

channelengine

ChannelEngine API Client for Node.js

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
9
Maintainers
1
Weekly downloads
 
Created
Source

Logo

ChannelEngine

Unofficial node.js API client for ChannelEngine.
Supports pagination and variable request retries.

Swagger Docs · ChannelEngine Docs · Issues

Table of Contents

Getting Started

Prerequisites

In order to connect to ChannelEngine, a tenant and an apiKey are required.

The tenant will be provided by ChannelEngine. The API key can then be generated at https://$TENANT.channelengine.net/apikeys.

Installation

Yarn:

yarn add channelengine

NPM:

npm install channelengine

Example

import {ChannelEngine} from 'channelengine'

// provided by ChannelEngine
const tenant = 'demo'
const apiKey = 'myApiKey'

// create instance and request IN_PROGRESS orders
const api = new ChannelEngine(tenant, apiKey, {maxRetries: 10, version: 2})
const response = await api.GET('orders', {
  statuses: 'IN_PROGRESS'
})

// log result
console.log(res)

Methods

An instance provides the methods GET, POST, PATCH, PUT and DELETE.

See Swagger docs for details on when to use which method.

(back to top)

Built With

(back to top)

Licence

MIT

(back to top)

Contributors

RienNeVaPlus - ?@rienneva.plus

(back to top)

FAQs

Package last updated on 16 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.