add netflix info method

This commit is contained in:
2020-04-27 19:44:56 +03:00
parent dab9c21cba
commit 3ef0cf0e85

View File

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