1 | var devrant = require('./src/index.js');
|
2 |
|
3 | devrant.httpSettings.SET_DEBUG(true);
|
4 | devrant.httpSettings.SET_COMPRESS(false);
|
5 | console.log('Debug: ', devrant.httpSettings.GET_DEBUG());
|
6 | console.log('Compress: ', devrant.httpSettings.GET_COMPRESS());
|
7 | var auth = {
|
8 | id: 807137,
|
9 | key: '',
|
10 | expire_time: 1506611197,
|
11 | user_id: 161184
|
12 | }
|
13 |
|
14 | console.log(__dirname+'/images/RantScript.png')
|
15 | devrant
|
16 | .listWeekly()
|
17 | .then((res)=>{
|
18 | console.log(res)
|
19 | })
|