Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 17 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | /** |
||
5 | 'use strict'; |
||
6 | |||
7 | const Sandcage = require('..'); |
||
8 | |||
9 | const sandcage = new Sandcage('[YOUR SANDCAGE API KEY]'); |
||
10 | const payload = { |
||
11 | files: [ |
||
12 | {'file_token': '[file_token 1]'}, |
||
13 | {'file_token': '[file_token 2]'} |
||
14 | ] |
||
15 | }; |
||
16 | |||
17 | sandcage |
||
18 | .getInfo(payload) |
||
19 | .then((result) => { |
||
20 | console.log(result); |
||
|
|||
21 | }); |