0.0.19 • Published 7 months ago

@knagyorg/ttlock-api v0.0.19

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

TTLock API

Installation

  • Run npm install after cloning the repository
  • Run npm run build to build this package
  • Install the package from your another project, run npm i <path-to-this-package-folder>

Usage

  • Create Client
import { createClient } from 'ttlock-api'

const client = createClient({
  baseUrl: '',
  clientId: '',
  clientSecret: ''
})
  • Use The APIs, one for example
client.lock.init({
  accessToken: '',
  date: 0,
  lockData: ''
}).then(response => {

  // Do something after getting the response
  
})
  • You can also import the types when you need to
import { UserType } from 'ttlock-api'
0.0.19

7 months ago

0.0.18

2 years ago

0.0.17

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago