1.1.0 • Published 7 years ago

@financial-times/n-mio v1.1.0

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

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

1.1.0

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago