Files
flixinfo/example/getinfo.js
2020-03-31 21:44:15 +03:00

16 lines
281 B
JavaScript

const GetFlix = require('../index');
const getflix = new GetFlix('YOUR API KEY');
const getInfo = async () => {
try {
const info = await getflix.get(80241239, 'en-EN');
console.log(info);
} catch (error) {
console.log(error);
}
}
getInfo();