Skip to content

RimuruEditz/Rest-api-rimuru

Repository files navigation

ʀɪᴍᴜʀᴜ-Api

  


assalamu'alaikum hi
I'm ʀɪᴍᴜʀᴜ 😇

  • 👼 My name is ʀɪᴍᴜʀᴜ
  • 🗣️ I am 18 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} rimuru)
      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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published