@tipe/js-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

@tipe/js-sdk

Tipe client for JavaScript and Node.js

import { createClient } from '@tipe/js-sdk'


const tipe = createClient({
  project: '1feeed2f-823a-4382-808f-a04ed533c915',
  key: '60cfbce5-0728-4ff2-884b-37ef8d8dde18'
})

tipe.getDocumentsByType('Author')
.then(data => {
  // data = []
  console.log(data)
})

tipe.getDocumentById('b2d1e408aafd574a')
.then(data => {
  // data = {}
  console.log(data)
})

tipe.getDocumentsByType('Asset')
.then(data => {
  console.log(data)
})

Readme

Keywords

none

Package Sidebar

Install

npm i @tipe/js-sdk

Weekly Downloads

0

Version

0.0.3

License

Apache-2.0

Unpacked Size

397 kB

Total Files

25

Last publish

Collaborators

  • aishablake
  • nakuliyer
  • dandra-mo
  • mfarmer
  • mrwade
  • jakesyl
  • mknapper1
  • kevinsims
  • traversng
  • tipe-npm
  • realmike33
  • hendrixer