rtm-typescript
TypeScript icon, indicating that this package has built-in type declarations

1.3.3 • Public • Published

rtm-typescript

GitHub Workflow Status (with event) Quality Gate Status Coverage

WARNING: THIS PACKAGE IS NOT READY FOR CONSUMPTION YET. USE AT YOUR OWN RISK

Install

npm install rtm-typescript

Features

This package currently only supports a few of the RTM API methods. Please come back later...

API Request Throttling

To avoid hitting the RTM Api rate limit, this client will throttle requests to once per second. If you wish to disable this behaviour, set throttle to false in the configuration object.

Usage

import { initialiseApi, ClientPermissions } from "rtm-typescript";

const runMyCode = async () => {
  const key = "my-api-key";
  const secret = "my-shared-secret";

  const client = initialiseApi({
    key,
    secret,
    permissions: ClientPermissions.Read,
  });

  const result = await client.tasks.getList({ list_id: "2" });

  console.log(result);
};

For more information, check out the API Documentation

Readme

Keywords

none

Package Sidebar

Install

npm i rtm-typescript

Weekly Downloads

1

Version

1.3.3

License

MIT

Unpacked Size

106 kB

Total Files

115

Last publish

Collaborators

  • ben.wainwright