0.0.5 • Published 2 years ago

efficientvideo v0.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years 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

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago