shotty api sandbox

node v6.17.1
version: 1.0.0
endpointsharetweet
const shotty = require('shotty-api')('demo.shottyapp.com', 'a5cf1c75-4f863909-c632683e-5a0e820d-731eb5be'); shotty.connect() .then(async result => { let shots = await shotty.get.shots(projectId='28p'); let shot = shots.find(shot => shot.sequence === 'bgr' && shot.code === '001'); let tasks = await shotty.get.tasks(projectId='28p', shotId=shot.id); console.log(tasks) });
Loading…

no comments

    sign in to comment