0.3.5 • Published 2 years ago

timely-client v0.3.5

Weekly downloads
7
License
MIT
Repository
github
Last release
2 years ago

timely-client

A node.js helper for Timely App API.

Installation

npm install --save timely-client

or

yarn add timely-client

Usage

import TimelyClient from "timely-client";

const client = new TimelyClient({
  accessToken: "abc123",
  apiUrl: "https://api.timelyapp.com/1.1", // <- defaults to this
});

const { data: accounts } = await client.getAccounts();

For a full list of methods check out the code.

All methods return a promise that resolve to a response-like object that looks like this:

{
  status: 200,
  statusText: 'OK',
  ok: true,
  data: [{ ... }]
}

Note: The client does not help with the OAuth flow. It expects an access token only. PRs welcome.

License

Copyright (c) 2018 Marius Craciunoiu. Licensed under the MIT license.

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.3.5

2 years ago

0.3.2

2 years ago

0.2.3

2 years ago

0.3.1

2 years ago

0.2.2

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.1.1

6 years ago

0.1.0

6 years ago