/rutter-client

Unofficial Rutterapi.com NodeJS SDK

Primary LanguageJavaScriptMIT LicenseMIT

RutterAPI NodeJS Client (Unofficial)

Build Status

This library provides many of the features of the official API of RutterAPI. It is easy to use, and fully async. It is intended to be used on the server (it is not a client module).

Official API: DOCS

TS Support

Typescript definitions are dynamically generated at build time and availble in dist, or run:

yarn generate-types.

Installation

yarn install rutter-client

Quick Start

import { RutterClient } from "rutter-client";

const client = new RutterClient({
  configs: {
    clientId: 'clientId',
    secretId: 'secretId',
}});

// fetch active connections
const { connections } = await client.connection.fetchActive();

// fetch orders
const { orders } = await client.order.fetchAll({ access_token: "access_token"});

Supported API(s)

Tokens

Connections

Orders

Fulfillments

Products


Other API(s)

Work in progress, feel free to contribute 😄