test.txt 325 Bytes
Newer Older
Mihkel Putrinš's avatar
Mihkel Putrinš committed
1
2
3
4
5
6
7
8
9
10
11
12
LIMIT_PARALLEL = 3
APP_ENTU_URL    = "https://entu.keeleressursid.ee/api2"
RESOURCE_ROOT=4387
APP_ENTU_USER=3396
APP_ENTU_KEY="8D9FQNjnxdfwbNVEJrvCKCUN4n3kZm2Sp"
var entu    = require('./code/entu')
var p = entu.get_childs(4387, 'resource')
var p = entu.get_entity(4387)

p.then(function(ope) {
    console.log(ope.get())
})