@financial-times/n-mio
v1.1.0
Published
A client library for MIO (aka. Ooyala Flex), a media assest management service.
Downloads
26
Maintainers
Keywords
Readme
A client library for MIO (aka. Ooyala Flex), a media assest management service.
Usage
make install
export MIO_USER=...
export MIO_PASSWORD=...
Search for assets,
new Mio().search({
limit: 100,
createdFrom: moment().subtract(7, 'days').format('DD MMM YYYY')
})
Get an asset,
new Mio().asset(685249)
.then(data => console.log(JSON.stringify(data)))
.catch(err => console.error(err));
Get an asset's parent,
new Mio().assetParent(685249)
.then(data => console.log(JSON.stringify(data)))
.catch(err => console.error(err));
API ref: MIO API docs