6.1.0 • Published 2 months ago

timelyapp v6.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

TimelyApp Node SDK

Timely Rest API GitHub Workflow Status npm Downloads Dependency Status License

A typed node module which provides a wrapper and several convienence functions for the TimelyApp.com API

Installation

npm install timelyapp

Examples

import { TimelyApp } from 'timelyapp'
import dotenv from 'dotenv'
dotenv.config()

const timely = new TimelyApp({
    accountId: process.env.TIMELY_ACCOUNT as string,
    token: process.env.TIMELY_TOKEN as string,
})

;(async () => {
    const output = await timely.getClients()
    // eslint-disable-next-line no-console
    console.dir(output, { depth: null })
    // eslint-disable-next-line no-console
})().catch(console.log)

Create the client

import { TimelyApp } from 'timelyapp'

const timely = new TimelyApp({
  clientId: 'xxxxxxxxxxxxx',
  clientSecret: 'xxxxxxxxxxxxx',
  accountId: '123456',
})

Get all users

const users = await timely.users.getAll()
6.1.0

2 months ago

6.0.0

9 months ago

5.0.0

2 years ago

4.3.0

2 years ago

4.2.0

2 years ago

4.1.4

2 years ago

4.1.5

2 years ago

4.1.3

2 years ago

4.1.0

2 years ago

4.0.0

2 years ago

4.1.2

2 years ago

4.1.1

2 years ago

3.0.0

2 years ago

2.3.0

2 years ago

2.5.0

2 years ago

2.4.0

2 years ago

2.2.0

3 years ago

2.1.6

3 years ago

2.1.5

3 years ago

2.1.4

3 years ago

2.1.3

3 years ago

2.1.2

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.0.0

3 years ago