0.0.5 • Published 1 year ago

efficientvideo v0.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Efficient Video

Efficient Video is a cost-effective video hosting solution. This is a convenience wrapper for the Efficient Video GraphQL API.

First, import the library:

const client = require('efficientvideo');

Then, authenticate using your API key:

client.setKey(API_KEY);

Then, perform the actions you wish.

Import from external URL

To import a video from an external URL, use the following:

const video = await client.importVideo(LIBRARY_ID, VIDEO_URL);
console.log('Video', video);

Get video

To get info about a video

const video = await client.getVideo(VIDEO_ID);
console.log('Video', video);
0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago