From f80585173f3e180f7098fb94b797f0aff054da1f Mon Sep 17 00:00:00 2001 From: Wise Colt Date: Tue, 31 Mar 2020 21:44:15 +0300 Subject: [PATCH] example api key hidden --- example/getinfo.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/example/getinfo.js b/example/getinfo.js index 7ac0c54..ebcade6 100644 --- a/example/getinfo.js +++ b/example/getinfo.js @@ -1,10 +1,9 @@ const GetFlix = require('../index'); -const getflix = new GetFlix('d9d6007d1bcf12043db5a085ae3e5bbb'); +const getflix = new GetFlix('YOUR API KEY'); const getInfo = async () => { try { - const info = await getflix.get(80244780, 'tr-TR'); - // info.credits.cast.forEach((f) => console.log(f.profile_path)); + const info = await getflix.get(80241239, 'en-EN'); console.log(info); } catch (error) {