1 | ![Treelab Logo](https://treelab-misc.s3-us-west-2.amazonaws.com/treelab-logos/Treelab-Logo-Small.png)
|
2 |
|
3 | # Usage
|
4 |
|
5 | The Treelab Javascript API provides an easy way to integrate Treelab with any external system. The API uses JSON to encode
|
6 | objects, and relies on Google's remote procedural call system (gRPC) to signal operation outcomes. The API
|
7 | enables external applications with full support for realtime data transmission through data streaming.
|
8 |
|
9 | ## Installation
|
10 |
|
11 | ### **Install with NPM**
|
12 |
|
13 | ```bash
|
14 | npm install @treelab/treelab
|
15 | ```
|
16 |
|
17 | ### **Install with YARN**
|
18 |
|
19 | ```bash
|
20 | yarn add @treelab/treelab
|
21 | ```
|
22 |
|
23 | ## API Reference
|
24 |
|
25 | Please refer to the
|
26 | [Treelab Javascript API Documentation](https://caminerinc.github.io/treelab-tsSDK/)
|
27 | for full usage and examples.
|