diff --git a/example/getinfo.js b/example/getinfo.js index ebcade6..25b7a07 100644 --- a/example/getinfo.js +++ b/example/getinfo.js @@ -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) {