Files
flixinfo/example/getinfo.js
2020-03-28 02:40:32 +03:00

19 lines
358 B
JavaScript

const GetFlix = require('../index');
const getflix = new GetFlix('d9d6007d1bcf12043db5a085ae3e5bbb');
const getInfo = async () => {
try {
const info = await getflix.getInfo('802329261');
if(info == null) {
console.log('null');
}
} catch (error) {
// console.log(error);
}
}
getInfo();