From 3ef0cf0e8571ac9d7658c5f73bb0e6791a0f63af Mon Sep 17 00:00:00 2001 From: sbilgetay Date: Mon, 27 Apr 2020 19:44:56 +0300 Subject: [PATCH] add netflix info method --- example/getinfo.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) {