Skip to content

Intersect.TS is a node.js package(npm) build with the TypeScript techno', for helping peoples to develop their tools/apps/programs using the IE(Intersect Engine) API more easily.

License

AriusII/IntersectTS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IntersectJS

A pleasant Intersect Engine API Client

Description

IntersectTS is a Intersect Engine package built on top of Intersect Engine API to render more easily the API usage.

Features

  • Written in TypeScript
  • Easy to use
  • Completely Modular and Extendable
  • Fully documented
  • Every API endpoint are separated in their own class
  • Full TypeScript & JavaScript support

Installation

@ariusii/intersect.ts doesn't require any dependencies.

    npm install @ariusii/intersect.ts

Example usage

    import { initToken, Client } as IntersectAPI from '@ariusii/intersect.ts';
    const url = "http://myserver.com";
    const port = 5400;

    const token = await initToken(url, port, "username", "password");
    /* password : Need to be passed as a UPPERCASE SHA256 of the password */

    const client = new Client(url, port, token.access_token, token.refresh_token);
    /* You can add a fifth parameter to the constructor to set the refresh interval in milliseconds. Default is 840000 ms */

Contributing

Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the documentation.

If you'd like, feel free to submit a PR.

Help

If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join the official forum.

About

Intersect.TS is a node.js package(npm) build with the TypeScript techno', for helping peoples to develop their tools/apps/programs using the IE(Intersect Engine) API more easily.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published