example api key hidden
This commit is contained in:
@@ -1,10 +1,9 @@
|
|||||||
const GetFlix = require('../index');
|
const GetFlix = require('../index');
|
||||||
|
|
||||||
const getflix = new GetFlix('d9d6007d1bcf12043db5a085ae3e5bbb');
|
const getflix = new GetFlix('YOUR API KEY');
|
||||||
const getInfo = async () => {
|
const getInfo = async () => {
|
||||||
try {
|
try {
|
||||||
const info = await getflix.get(80244780, 'tr-TR');
|
const info = await getflix.get(80241239, 'en-EN');
|
||||||
// info.credits.cast.forEach((f) => console.log(f.profile_path));
|
|
||||||
console.log(info);
|
console.log(info);
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user