0.1.1 • Published 7 years ago

tav-tech-client-library v0.1.1

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

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.