Files
flixinfo/example/getinfo.js
2020-04-27 19:44:56 +03:00

17 lines
371 B
JavaScript

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