Skip to content

Asal Muasal Rest Api Gw ( Cuman Copy Bang :)

License

Notifications You must be signed in to change notification settings

p-store13/Api-pstore

ย 
ย 

Repository files navigation

Alphabot-Api

ย ย 


assalamu'alaikum hi
I'm zeeone ๐Ÿ˜‡

  • ๐Ÿ‘ผ My name is Zeeone
  • ๐Ÿ—ฃ๏ธ I am 17 years old
  • ๐Ÿ”ญ I am not programmer

Connect with me



How to install

Click Here For Tutorial

Api Features

  1. ๐˜ฟ๐™ค๐™ฌ๐™ฃ๐™ก๐™ค๐™–๐™™ & ๐™Ž๐™ค๐™˜๐™ž๐™–๐™ก ๐™ˆ๐™š๐™™๐™ž๐™– ๐Ÿคณ
Example Case
Example Case:

case 'youtube_audio':  
      if (args.length < 1) return reply("Where's the link bro")
      if (!isUrl(args[0]) && !args[0].includes('youtu')) return reply('```Invalid link```')
      reply(lang.wait()) 
      anu = await fetchJson(`https://api-alphabot.herokuapp.com/api/yutub/audio?url=${args[0]}&apikey=Alphabot`)
        ini_txt = `YT AUDIO HAS BEEN FOUND\n\n`
        ini_txt += `โ€ข Judul : ${anu.result.title}\n`
        ini_txt += `โ€ข Ext : mp3\n`
        ini_txt += `โ€ข Size : ${anu.result.filesize}\n\n_Tunggu beberapa menit video akan segera di kirimkan_`
        ini_txt2 = await getBuffer(anu.result.thumb)
        ini_txt3 = await getBuffer(anu.result.result)
      alpha.sendMessage(from, ini_txt2, image, { quoted: mek, caption: ini_txt })
      alpha.sendMessage(from, ini_txt3, audio, { mimetype: 'audio/mp4', quoted: mek, ptt:true})
      break

  1. ๐™„๐™จ๐™ก๐™–๐™ข๐™ž๐™˜ ๐Ÿ•Œ
Example Case
Example Case:

case 'hadist_sahih':
      if (args.length < 1) return reply(`Usage: ${prefix + command} kitab|nomor\nExample : ${prefix + command} Bukhari|15`)
      get_args = args.join(" ").split("|")
      kitab = get_args[0]
      nomor = get_args[1]
      var hadist = await fetchJson('https://api-alphabot.herokuapp.com/api/hadits?kitab=${kitab}&nomor=${nomor}&apikey=Alphabot')
      ini_result = hadist.result
         ini_txt = `Name : ${ini_result.name}\n`
         ini_txt += `Id : ${ini_result.id}\n`
         ini_txt += `Available : ${ini_result.availabel}\n`
         ini_txt += `Number : ${ini_result.contents.number}\n`
         ini_txt += `Arab : ${ini_result.contents.arab}\n`
         ini_txt += `Ind : ${ini_result.contents.id}`
      reply(ini_txt)
      break
  1. ๐™„๐™ข๐™–๐™œ๐™š๐™จ ๐Ÿ–ผ๏ธ
Example Case
Example Case:

case 'wallpaper_programming':
     get_result = await fetchJson(`https://api-alphabot.herokuapp.com/api/wallpaper/teknologi?apikey=Alphabot`)
     get_result = get_result.result
     for (var x = 0; x <= 5; x++) {
     var ini_buffer = await getBuffer(get_result[x])
     await alpha.sendMessage(from, ini_buffer, image)
     }
     break

  1. ๐™๐™–๐™ฃ๐™™๐™ค๐™ข โ™’
Example Case
Example Case:

case 'random_quote':
     ini_result = await fetchJson('https://api-alphabot.herokuapp.com/api/randomquote?apikey=Alphabot')
     get_result = ini_result.result
        ini_txt = `${get_result.quotes}\n\n`
       ini_txt += `~ ${get_result.author}`
     reply(ini_txt)

  1. ๐™๐™š๐™ญ๐™ฉ ๐™ˆ๐™–๐™ ๐™š๐™ง 2๐˜ฟ ๐Ÿ‘ฉโ€โค๏ธโ€๐Ÿ’‹โ€๐Ÿ‘ฉ
Example Case
Example Case:

case 'maker_2d':
      if (args.length < 1) return reply(`Usage: ${prefix + command} teks\nExample : ${prefix + command} zeeoneofc)
      teksnya = args.join(" ")
      ini_result = await fetchJson(`https://api-alphabot.herokuapp.com/api/maker?text=${teksnya}&apikey=Alphabot`}
      get_result = ini_result.result
         ini_img = await getBuffer(get_result.results)
      alpha.sendMessage(from, ini_img, image,{quoted :mek, caption : 'Nih kak hasilnya'})
      break
  1. ๐™๐™š๐™ญ๐™ฉ ๐™ˆ๐™–๐™ ๐™š๐™ง 3๐˜ฟ ๐Ÿซ
Example Case
Example Case:

case 'maker_3d':
      if (args.length < 1) return reply(`Usage: ${prefix + command} teks\nExample : ${prefix + command} zeeoneofc)
      teksnya = args.join(" ")
      ini_result = await fetchJson(`https://api-alphabot.herokuapp.com/api/maker3d?text=${teksnya}&apikey=Alphabot`}
      get_result = ini_result.result
         ini_img = await getBuffer(get_result.results)
      alpha.sendMessage(from, ini_img, image,{quoted :mek, caption : 'Nih kak hasilnya'})
      break
  1. ๐™๐™š๐™ญ๐™ฉ ๐™ˆ๐™–๐™ ๐™š๐™ง ๐™Š๐™ฉ๐™๐™š๐™ง๐™จ ๐Ÿ‘พ
Example Case
Example Case:

case 'sertifikat_ff':
      if (args.length < 1) return reply(`Usage: ${prefix + command} teks\nExample : ${prefix + command} zeeoneofc)
      teksnya = args.join(" ")
      ini_result = await fetchJson(`api-alphabot.herokuapp.com/api/maker/special/epep?text=${teksnya}&apikey=Alphabot`}
      get_result = ini_result.result
         ini_img = await getBuffer(get_result.results)
      alpha.sendMessage(from, ini_img, image,{quoted :mek, caption : 'Nih kak hasilnya'})
      break
  1. ๐™‹๐™๐™ค๐™ฉ๐™ค๐™ค๐™ญ๐™ฎ ๐Ÿƒ
Example Case
Example Case:

case 'coffe_cup':
      if (args.length < 1) return reply(`Usage: ${prefix + command} teks\nExample : ${prefix + command} zeeoneofc)
      teksnya = args.join(" ")
      ini_result = await fetchJson(`https://percobaannih.herokuapp.com/api/textmaker/senja?text=${teksnya}&theme=coffee-cup&apikey=Alphabot`}
      get_result = ini_result.result
         ini_img = await getBuffer(get_result.url)
      alpha.sendMessage(from, ini_img, image,{quoted :mek, caption : 'Nih kak hasilnya'})
      break
  1. ๐˜ผ๐™ฃ๐™ž๐™ข๐™š ๐Ÿƒ
Example Case
Example Case:

case 'manga':
      if (args.length < 1) return reply(`Example : ${prefix + command} naruto`)
      query = args.join(" ")
      var manga = await fetchJson('https://percobaannih.herokuapp.com/api/anime/kusonime?search=${query}&apikey=Alphabot')
      ini_result = manga.result
         ini_txt = `Title : ${ini_result.title}\n`
         ini_txt += `Title Japan : ${ini_result.title_jp}\n`
         ini_txt += `Genre : ${ini_result.genre}\n`
         ini_txt += `Season : ${ini_result.season}\n`
         ini_txt += `Producer : ${ini_result.producer}\n`
         ini_txt += `Type : ${ini_result.contents.number}\n`
         ini_txt += `Status : ${ini_result.availabel}\n`
         ini_txt += `Total Episode : ${ini_result.contents.number}\n`
         ini_txt += `Score : ${ini_result.contents.arab}\n`
         ini_txt += `Duration : ${ini_result.availabel}\n`
         ini_txt += `Release : ${ini_result.contents.number}\n`
         ini_txt += `Description : ${ini_result.contents.arab}`
         ini_txt2 = await getBuffer(ini_result.thumb)
      reply(ini_txt)
      break
  1. ๐˜ผ๐™จ๐™ช๐™ฅ๐™–๐™ฃ ๐™๐™ž๐™ข๐™š๐™ก๐™ž๐™ฃ๐™š ๐Ÿ“ฝ๏ธ
Example Case
Example Case:

case 'asupan_santuy':
     ini_result = await fetchJson(`https://api-alphabot.herokuapp.com/api/asupan/santuy?apikey=Alphabot`)
     get_result = ini_result.result
        ini_vid = await getBuffer(get_result.url)
     alpha.sendMessage(from, ini_vid, video, {mimetype: 'video/mp4',quoted:mek})
     break

  1. ๐™‰๐™Ž๐™๐™’ ๐Ÿ‘™
Example Case
Example Case:

case 'nsfw_ass':
     ini_result = await fetchJson(`https://api-alphabot.herokuapp.com/api/nsfw/ass?apikey=Alphabot`)
     get_result = ini_result.result
        ini_img = await getBuffer(get_result)
     alpha.sendMessage(from, ini_img, image, {quoted:mek})
     break

  1. ๐™‚๐™–๐™ข๐™š๐™จ ๐ŸŽฎ
Example Case
Example Case:

Untuk game memerlukan function jadi gua gk kasi example dulu

  1. ๐™‚๐™–๐™˜๐™๐™– ๐˜พ๐™š๐™ฌ๐™š ๐Ÿ‘ญ
Example Case
Example Case:

case 'cewe_vietnam':
     ini_result = await fetchJson(`https://api-alphabot.herokuapp.com/api/cewe/vietnam?apikey=Alphabot`)
     get_result = ini_result.result
        ini_img = await getBuffer(get_result.url)
     alpha.sendMessage(from, ini_img, image, {quoted:mek})
     break

  1. ๐™๐™ž๐™ก๐™ข๐˜ผ๐™ฅ๐™ž๐™  ๐ŸŽฌ
Example Case
Example Case:

case 'cari_film':
      if (args.length < 1) return reply(`Example : ${prefix + command} Avengers)
      query = args.join(" ")
      get_result = await fetchJson(`https://api-alphabot.herokuapp.com/api/filmapik/search?film=${query}&apikey=Alphabot`)
      for (var x = 0; x <= 1; x++) {
         ini_img = get_result[x].result.thumbnailPotrait
         ini_txt = `DATA BERHASIL DI TEMUKAN\n\n`
         ini_txt += ` Title : ${get_result[x].result.title}\n`
         ini_txt += `Rating :get_result[x].result.rating\n`
         ini_txt += `Episode : get_result[x].result.episode\n`
         ini_txt += `Id : get_result[x].result.movieId
         ini_txt += `Views : get_result[x].result.datails.views
         ini_txt += `Genre :get_result[x].result.datails.genre\n`
         ini_txt += `Duration :get_result[x].result.datails.duration\n`
         ini_txt += `Release :get_result[x].result.datails.release\n`
         ini_txt += `Total Eps. :get_result[x].result.datails.totalEpisodes\n`
         ini_txt += `Description :get_result[x].result.datails.description`
      await alpha.sendMessage(from, ini_img, image, {caption: ini_txt, quoted : mek})
      }
      break

  1. ๐™‡๐™ 21 ๐ŸŽฆ
Example Case
Example Case:

case 'lk21_tahun': //mencari film lk21 berdasarkan tahun
      if (args.length < 1) return reply(`Usage : ${prefix + command} Tahun\nExample : ${prefix + command} 2021)
      query = args.join(" ")
      get_result = await fetchJson(`https://api-alphabot.herokuapp.com/api/lk21/year?tahun=${query}&apikey=Alphabot`)
      for (var x = 0; x <= 1; x++) {
         ini_img = get_result[x].result.result.thumbnail
         ini_txt = `DATA BERHASIL DI TEMUKAN\n\n`
         ini_txt += `Title : ${get_result[x].result.result.title}\n`
         ini_txt += `Rating :get_result[x].result.result.rating\n`
         ini_txt += `Genre :get_result[x].result.result.genre\n`
         ini_txt += `Duration :get_result[x].result.result.duration\n`
         ini_txt += `Quality :get_result[x].result.result.quality\n`
         ini_txt += `Trailer :get_result[x].result.result.trailer\n`
         ini_txt += `Watch :get_result[x].result.result.watch`
      await alpha.sendMessage(from, ini_img, image, {caption: ini_txt, quoted : mek})
      }
      break
  1. ๐™‰๐™š๐™ฌ๐™จ ๐Ÿ“ฐ
Example Case
Example Case:

case 'republika': 
      if (args.length < 1) return reply(`Usage : ${prefix + command} jenis berita\nExample : ${prefix + command} ekonomi)
      query = args.join(" ")
      get_result = await fetchJson(`https://api-alphabot.herokuapp.com/api/news/republika?type=${query}&apikey=Alphabot`)
      for (var x = 0; x <= 1; x++) {
         ini_txt = `DATA BERHASIL DI TEMUKAN\n\n`
         ini_txt += `Title : ${get_result[x].result.data.title}\n`
         ini_txt += `Link :get_result[x].result.data.link\n`
         ini_txt += `Isodate :get_result[x].result.data.isoDate\n`
         ini_txt += `Kategori :get_result[x].result.data.categories\n`
         ini_txt += `Creator :get_result[x].result.data.creator\n`
         ini_txt += `Description :get_result[x].result.data.description`
      reply(ini_txt)
      }
      break

  1. ๐™€๐™ฃ๐™˜๐™ค๐™™๐™š & ๐˜ฟ๐™š๐™˜๐™ค๐™™๐™š ๐Ÿ‘จโ€๐Ÿ’ป
Example Case
Example Case:

case 'base64encode':
      if (args.length < 1) return reply(`Usage : ${prefix + command} teks\nExample : ${prefix + command} zeeoneofc)
      query = args.join(" ")
      ini_result = await fetchJson(`https://api-alphabot.herokuapp.com/api/base?apikey=Alphabot&type=base64&encode=${query}`)
      get_result = ini_result.result
         ini_txt = `Type : ${get_result.type}\n`
         ini_txt += `String : ${get_result.string}\n`
         ini_txt += `Encode : ${get_result.encode}`
      reply(ini_txt)
      break
  1. ๐™Š๐™ฉ๐™๐™š๐™ง๐™จ ๐ŸŒ‹
Example Case
Example Case:

case 'covid_word':
     ini_result = await fetchJson('https://api-alphabot.herokuapp.com/api/covidworld?apikey=Alphabot')
     get_result = ini_result.result
        ini_txt = `C O V I D  W O R L D`
        ini_txt += `Total Case : ${get_result.totalCases}\n`
        ini_txt += `Deaths : ${get_result.deaths}\n`
        ini_txt += `Recovered : ${get_result.recovered}\n`
        ini_txt += `Active Cases : ${get_result.activeCases}\n`
        ini_txt += `Closed Cases : ${get_result.closedCases}\n`
        ini_txt += `lastUpdate : ${get_result.lastUpdate}`
     reply (ini_txt)
     break

coffee โ˜•

Thnaks To

About

Asal Muasal Rest Api Gw ( Cuman Copy Bang :)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 41.4%
  • HTML 34.8%
  • CSS 18.0%
  • SCSS 5.8%