JSPM

tav-tech-client-library

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q32080F
  • License ISC

This is TAV Technology's officially supported node.js client library

Package Exports

  • tav-tech-client-library

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tav-tech-client-library) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

TAV Technology APIs Node.js Client

This is TAV Technology's officially supported node.js client library to access content such as staticpages, menus of created application with given application token.

Installation

This library is distributed on npm. To add it as a dependency, run the following command:

$ npm install tav-tech-client-library --save

Application Token

This library provides an implementation of [Application Token][] for Node.js.

The [Application Token][] provide a simple way to get authorization credentials for use in calling TAV Technology APIs.

Call an API

As long as you update the your Application Token variable, and the fill in the placeholder variables from your project, the following snippet should work.

var TAVTechClient = require('tav-tech-client-library');

var tavTechClientFactory = new TAVTechClient("[Application Token]");

// request to get menu of project with dynamic field `key` field
var menu = tavTechClientFactory.getMenu("headerMenu");

Contributing

See [CONTRIBUTING][contributing].