From 27cb1852d7196064e7387155ffaf6b863b8689e0 Mon Sep 17 00:00:00 2001 From: DaniBotzOfc <88378326+DANIGANZBOT@users.noreply.github.com> Date: Mon, 21 Feb 2022 15:33:16 +0700 Subject: [PATCH 01/13] Add files via upload --- routes/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api.js b/routes/api.js index 3d41afc..8141ff4 100644 --- a/routes/api.js +++ b/routes/api.js @@ -7150,7 +7150,7 @@ router.get('/maker/pubglogo', async(req, res, next) => { if(!apikey) return res.json(loghandler.notparam) if(listkey.includes(apikey)) { - let hasil = 'https://api.zeks.xyz/api/pubglogo?text1='+ text1 + '&text2' +'&apikey=administrator' + let hasil = 'https://api.dapuhy.xyz/api/photooxy/pubg?text1='+ text1 + '&text2' +'&apikey=SayuBotz' data = await fetch(hasil).then(v => v.buffer()) await fs.writeFileSync(__path +'/tmp/pubglogo.jpg', data) res.sendFile(__path +'/tmp/pubglogo.jpg') From 4a7684337504aa84116db5413a69acd8f1ac2b08 Mon Sep 17 00:00:00 2001 From: DaniBotzOfc <88378326+DANIGANZBOT@users.noreply.github.com> Date: Mon, 21 Feb 2022 15:48:35 +0700 Subject: [PATCH 02/13] Add files via upload --- routes/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api.js b/routes/api.js index 8141ff4..6b6a8ce 100644 --- a/routes/api.js +++ b/routes/api.js @@ -7012,7 +7012,7 @@ router.get("/maker/nulis", async (req, res, next) => { if(!apikey) return res.json(loghandler.notparam) if(listkey.includes(apikey)) { - let hasil = 'https://api.zeks.xyz/api/nulis?text='+ text +'&apikey=apivinz' + let hasil = 'https://api.dapuhy.xyz/api/maker/nulis?='+ text +'&apikey=SayuBotz' data = await fetch(hasil).then(v => v.buffer()) await fs.writeFileSync(__path +'/tmp/nulis.jpeg', data) res.sendFile(__path +'/tmp/nulis.jpeg') From cb53b1eb825a98e1f5bd03e830fa16362e6b25cd Mon Sep 17 00:00:00 2001 From: DaniBotzOfc <88378326+DANIGANZBOT@users.noreply.github.com> Date: Mon, 21 Feb 2022 16:24:19 +0700 Subject: [PATCH 03/13] Add files via upload --- routes/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api.js b/routes/api.js index 6b6a8ce..18a7dd4 100644 --- a/routes/api.js +++ b/routes/api.js @@ -7150,7 +7150,7 @@ router.get('/maker/pubglogo', async(req, res, next) => { if(!apikey) return res.json(loghandler.notparam) if(listkey.includes(apikey)) { - let hasil = 'https://api.dapuhy.xyz/api/photooxy/pubg?text1='+ text1 + '&text2' +'&apikey=SayuBotz' + let hasil = 'https://api.dapuhy.xyz/api/photooxy/pubg?text1=Dani&text2=Ganz&apikey=SayuBotz' data = await fetch(hasil).then(v => v.buffer()) await fs.writeFileSync(__path +'/tmp/pubglogo.jpg', data) res.sendFile(__path +'/tmp/pubglogo.jpg') From b446564855eece7afbed7605f5bdcd303818258e Mon Sep 17 00:00:00 2001 From: DaniBotzOfc <88378326+DANIGANZBOT@users.noreply.github.com> Date: Mon, 21 Feb 2022 16:49:52 +0700 Subject: [PATCH 04/13] Add files via upload --- routes/api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/api.js b/routes/api.js index 18a7dd4..c3daa64 100644 --- a/routes/api.js +++ b/routes/api.js @@ -7012,7 +7012,7 @@ router.get("/maker/nulis", async (req, res, next) => { if(!apikey) return res.json(loghandler.notparam) if(listkey.includes(apikey)) { - let hasil = 'https://api.dapuhy.xyz/api/maker/nulis?='+ text +'&apikey=SayuBotz' + let hasil = 'https://api.dapuhy.xyz/api/maker/nulis?text=DaniEditz&apikey=SayuBotz' data = await fetch(hasil).then(v => v.buffer()) await fs.writeFileSync(__path +'/tmp/nulis.jpeg', data) res.sendFile(__path +'/tmp/nulis.jpeg') @@ -7080,7 +7080,7 @@ router.get('/maker/breakwall', async(req, res, next) => { if(!apikey) return res.json(loghandler.notparam) if(listkey.includes(apikey)) { - let hasil = 'https://api.zeks.xyz/api/breakwall?text='+ text +'&apikey=administrator' + let hasil = 'https://api.dapuhy.xyz/api/textpro/breakwall?text=DaniGanz&apikey=SayuBotz' data = await fetch(hasil).then(v => v.buffer()) await fs.writeFileSync(__path +'/tmp/breakwall.jpg', data) res.sendFile(__path +'/tmp/breakwall.jpg') From f0d90e71ff671bb8cef9bc7fc6483eec7dbcbce0 Mon Sep 17 00:00:00 2001 From: DaniBotzOfc <88378326+DANIGANZBOT@users.noreply.github.com> Date: Mon, 21 Feb 2022 17:19:22 +0700 Subject: [PATCH 05/13] Add files via upload --- routes/api.js | 61 +++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 44 insertions(+), 17 deletions(-) diff --git a/routes/api.js b/routes/api.js index c3daa64..99d8827 100644 --- a/routes/api.js +++ b/routes/api.js @@ -8,7 +8,7 @@ var zahirr = db.get("zahirr"); console.log('') } -var creator = "Rey" +var creator = "DaniGanz" var neoxr = "yntkts" var zeks = "administrator" var zeks2 = "apivinz" @@ -836,7 +836,7 @@ router.get('/download/googleimg', async(req, res, next) => { if(!apikey) return res.json(loghandler.notparam) if(listkey.includes(apikey)){ - fetch(encodeURI(`http://nzcha-apii.herokuapp.com/googleimage?q=${query}`)) + fetch(encodeURI(`https://api.dapuhy.xyz/api/search/googleimage?query=itsuki+nakano&apikey=SayuBotz`)) .then(response => response.json()) .then(hasil => { @@ -863,7 +863,7 @@ router.get('/download/mediafire', async(req, res, next) => { if(!apikey) return res.json(loghandler.notparam) if(listkey.includes(apikey)){ - fetch(encodeURI(`https://api-json-reysekha.herokuapp.com/api/mediafire/?url=${url}&apikey=Yuzzu`)) + fetch(encodeURI(`https://api.dapuhy.xyz/api/socialmedia/mediafire?url=http://www.mediafire.com/file/plc19jr6d8bhw4g/smooth-high-realistic.ini/file&apikey=SayuBotz`)) .then(response => response.json()) .then(hasil => { @@ -890,7 +890,7 @@ router.get('/stalk/github', async(req, res, next) => { if(!apikey) return res.json(loghandler.notparam) if(listkey.includes(apikey)){ - fetch(encodeURI(`https://free-restapii.herokuapp.com/docs/githubstalk?username=${username}&apikey=LoliKillers`)) + fetch(encodeURI(`https://api.zacros.my.id/info/ghstalk?username=DANIGANZBOT`)) .then(response => response.json()) .then(hasil => { @@ -917,7 +917,7 @@ router.get('/stalk/ig', async(req, res, next) => { if(!apikey) return res.json(loghandler.notparam) if(listkey.includes(apikey)){ - fetch(encodeURI(`https://aqulzz.herokuapp.com/igstalk?username=${username}`)) + fetch(encodeURI(`https://hardianto.xyz/api/igstalk?username=xinzganz&apikey=hardianto`)) .then(response => response.json()) .then(hasil => { @@ -971,7 +971,7 @@ router.get('/download/ytmp32', async(req, res, next) => { if(!apikey) return res.json(loghandler.notparam) if(listkey.includes(apikey)){ - fetch(encodeURI(`http://kocakz.herokuapp.com/api/media/ytaudio?url=${url}`)) + fetch(encodeURI(`https://api.dapuhy.xyz/api/socialmedia/ytmp3?url=https://youtu.be/7KrV0drYfz0&apikey=SayuBotz`)) .then(response => response.json()) .then(hasil => { @@ -998,7 +998,7 @@ router.get('/download/ytmp42', async(req, res, next) => { if(!apikey) return res.json(loghandler.notparam) if(listkey.includes(apikey)){ - fetch(encodeURI(`http://kocakz.herokuapp.com/api/media/ytvid?url=${url}`)) + fetch(encodeURI(`https://api.dapuhy.xyz/api/socialmedia/ytmp4?url=https://youtu.be/7KrV0drYfz0&apikey=SayuBotz`)) .then(response => response.json()) .then(hasil => { @@ -1025,7 +1025,7 @@ router.get('/download/shoppe', async(req, res, next) => { if(!apikey) return res.json(loghandler.notparam) if(listkey.includes(apikey)){ - fetch(encodeURI(`https://api.zeks.me/api/shopee?apikey=reyterganz&q=${q}`)) + fetch(encodeURI(`https://x-restapi.herokuapp.com/api/shopee-search?q=sepatu&apikey=BETA`)) .then(response => response.json()) .then(hasil => { @@ -1052,7 +1052,7 @@ router.get('/primbon/zodiak', async(req, res, next) => { if(!apikey) return res.json(loghandler.notparam) if(listkey.includes(apikey)){ - fetch(encodeURI(`http://revita.herokuapp.com/api/primbon/zodiaku?mimpi=${text}`)) + fetch(encodeURI(`https://api.zacros.my.id/primbon/zodiakharian?zodiak=cancer`)) .then(response => response.json()) .then(hasil => { @@ -1079,7 +1079,7 @@ router.get('/primbon/artimimpi', async(req, res, next) => { if(!apikey) return res.json(loghandler.notparam) if(listkey.includes(apikey)){ - fetch(encodeURI(`http://kocakz.herokuapp.com/api/primbon/tafsirmimpi?mimpi=${text}`)) + fetch(encodeURI(`https://api.dapuhy.xyz/api/fun/artimimpi?mimpi=jatuh&apikey=SayuBotz`)) .then(response => response.json()) .then(hasil => { @@ -1106,7 +1106,7 @@ router.get('/primbon/artinama', async(req, res, next) => { if(!apikey) return res.json(loghandler.notparam) if(listkey.includes(apikey)){ - fetch(encodeURI(`http://kocakz.herokuapp.com/api/primbon/artinama?name=${text}`)) + fetch(encodeURI(`https://api.dapuhy.xyz/api/fun/artinama?nama=Dani&apikey=SayuBotz`)) .then(response => response.json()) .then(hasil => { @@ -1322,7 +1322,34 @@ router.get('/downloader/pinterest', async(req, res, next) => { if(!apikey) return res.json(loghandler.notparam) if(listkey.includes(apikey)){ - fetch(encodeURI(`https://aqulzz.herokuapp.com/pinterest?q=${q}`)) + fetch(encodeURI(`https://api.dapuhy.xyz/api/search/pinterest?query=itsuki+nakano&apikey=SayuBotz`)) + .then(response => response.json()) + .then(hasil => { + + var result = hasil.result; + res.json({ + status : true, + creator : `${creator}`, + result + }) + }) + .catch(e => { + res.json(loghandler.error) +}) +} else { + res.json(loghandler.invalidKey) +} +}) + +router.get('/downloader/pinterestimage', async(req, res, next) => { + const apikey = req.query.apikey; + const q = req.query.q; + + if(!q) return res.json(loghandler.notquery) + if(!apikey) return res.json(loghandler.notparam) + + if(listkey.includes(apikey)){ + fetch(encodeURI(`https://api.dapuhy.xyz/api/search/pinterest-image?query=itsuki+nakano&apikey=SayuBotz`)) .then(response => response.json()) .then(hasil => { @@ -1611,7 +1638,7 @@ router.get('/random/faktaunik', async (req, res, next) => { if(!Apikey) return res.json(loghandler.notparam) if(listkey.includes(Apikey)){ - fetch(encodeURI(`http://kocakz.herokuapp.com/api/random/text/faktaunik`)) + fetch(encodeURI(`https://apidhani.herokuapp.com/api/randomtext/faktaunik?apikey=NisaaCantik`)) .then(response => response.json()) .then(hasil => { var result = hasil.result; @@ -1633,7 +1660,7 @@ router.get('/random/katabijak', async (req, res, next) => { if(!Apikey) return res.json(loghandler.notparam) if(listkey.includes(Apikey)){ - fetch(encodeURI(`http://kocakz.herokuapp.com/api/random/text/katabijak`)) + fetch(encodeURI(`https://apidhani.herokuapp.com/api/randomtext/katabijak?apikey=NisaaCantik`)) .then(response => response.json()) .then(hasil => { var result = hasil.result; @@ -1655,7 +1682,7 @@ router.get('/random/pantun', async (req, res, next) => { if(!Apikey) return res.json(loghandler.notparam) if(listkey.includes(Apikey)){ - fetch(encodeURI(`http://kocakz.herokuapp.com/api/random/text/pantun`)) + fetch(encodeURI(`https://apidhani.herokuapp.com/api/randomtext/pantun?apikey=NisaaCantik`)) .then(response => response.json()) .then(hasil => { var result = hasil.result; @@ -1672,7 +1699,7 @@ res.json(loghandler.invalidKey) } }) -router.get('/random/fancytext', async (req, res, next) => { +router.get('/random/puisi', async (req, res, next) => { var Apikey = req.query.apikey text = req.query.text @@ -1680,7 +1707,7 @@ router.get('/random/fancytext', async (req, res, next) => { if(!text) return res.json(loghandler.nottext) if(listkey.includes(Apikey)){ - fetch(encodeURI(`http://kocakz.herokuapp.com/api/random/text/fancytext?text=${text}`)) + fetch(encodeURI(`https://apidhani.herokuapp.com/api/randomtext/puisi?apikey=NisaaCantik`)) .then(response => response.json()) .then(hasil => { var result = hasil.result; From 3ac67089a6700c23cc8a03f7c63778c6685a98db Mon Sep 17 00:00:00 2001 From: DaniBotzOfc <88378326+DANIGANZBOT@users.noreply.github.com> Date: Mon, 21 Feb 2022 17:51:19 +0700 Subject: [PATCH 06/13] Add files via upload --- views/docs-1.html | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/views/docs-1.html b/views/docs-1.html index 6019259..3e27345 100644 --- a/views/docs-1.html +++ b/views/docs-1.html @@ -8,7 +8,7 @@ -