jw-hanta-api

JW Hanta Virüs API

Usage no npm install needed!

<script type="module">
  import jwHantaApi from 'https://cdn.skypack.dev/jw-hanta-api';
</script>

README

JW Hanta Virüs API

TR: Sizlere Hızlı, Kolay ve Rahat kullanım imkanı sunan Hanta Virüs API'miz. EN: Our Hanta Virus API that offers you Fast, Easy and Comfortable use.


Kurulum - Setup

npm install jw-hanta-api

Modül Tanımlama - Module Identification

const jw = require('jw-hanta-api')

JW-hanta Nedir? - What is JW Hanta?

TR: Güncel Olarak Dünyadaki Korona Virüs Vaka Sayısını, Ölüm Sayısını Ve Günlük Olarak Vaka, Ölüm Sayısını Sizlere Sunar.

EN: Current Hanta Virus Cases in the World, Death Number and Daily Case, Death Number Presents.


Nasıl Kullanılır? - How to use?

TR: Öncelikle Discord Sunucumuza Gelip, JWORSE KINGDOM BOT'umuza Özel Mesajdan APIKEY Talebinde Bulunmalısınız.

EN: First of all, you should come to our Discord Server and request APIKEY from a special message to our JWORSE KINGDOM BOT..


Nasıl Talepte Bulunurum? - How Do I Request?

TR: ?hanta-talep kullanımAmacınız

EN: ?hanta-request Purpose of usage

TR: APIKEY Aldıktan Sonra Aşşağıdaki Örnekteki Gibi Kullanabilirsiniz.

EN: After Receiving APIKEY, You Can Use It As The Example Below.

  • TR:APIKEY Kısmına Aldığınız APIKEY'i girmelisiniz.
  • EN: You must enter the APIKEY you received in the APIKEY section.

Örnek; - Example;

const jw = require('jw-hanta-api')

      /** TR EXAMPLE **/

client.on("ready", async () => {
  const hanta = await jw("APIKEY", "TR");
  console.log(hanta);
  console.log(hanta.toplam);
  console.log(hanta.Turkey);
  console.log(hanta.Turkey.vaka);
  console.log(hanta.Turkey.bugunVaka);
  console.log(hanta.Turkey.mevcutVaka);
  console.log(hanta.Turkey.olum);
  console.log(hanta.Turkey.bugunOlum);
  console.log(hanta.Turkey.kurtarilan);
  console.log(hanta.Turkey.kritik);
});

/** hanta -> {
  "Turkey":{
      "vaka":98,
      "bugunVaka":0,
      "mevcutVaka":97,
      "olum":1,
      "bugunOlum":0,
      "kurtarilan":0,
      "kritik":0
  },
  "China":{
      "vaka":80894,
      "bugunVaka":13,
      "mevcutVaka":8043,
      "olum":3237,
      "bugunOlum":11,
      "kurtarilan":69614,
      "kritik":2622
  },
  "Italy":{
      "vaka":31506,
      "bugunVaka":0,
      "mevcutVaka":26062,
      "olum":2503,
      "bugunOlum":0,
      "kurtarilan":2941,
      "kritik":2060
  },
  .
  .
  .
  girisYapılanKullanıcı: {
      isim: '✧ JWORSE ❃#3977',
      id: '461439955827163136'
  },
  tarih: '2020-03-15'
}*/

/** hanta.toplam -> {
      "vaka":33,
      "bugunVaka":33,
      "mevcutVaka":32,
      "olum":1,
      "bugunOlum":1,
      "kurtarilan":0,
      "kritik":0
  }*/

/** hanta.Turkey -> {
      "vaka":0,
      "bugunVaka":0,
      "mevcutVaka":0,
      "olum":0,
      "bugunOlum":0,
      "kurtarilan":0,
      "kritik":0
  }*/

/** hanta.Turkey.vaka -> "0*/

/** hanta.Turkey.bugunVaka -> 0*/

/** hanta.Turkey.mevcutVaka -> 0*/

/** hanta.Turkey.olum -> 0*/

/** hanta.Turkey.bugunOlum -> 0*/

/** hanta.Turkey.kurtarilan -> 0*/

/** hanta.Turkey.kritik -> 0*/

      /** TR EXAMPLE **/

      /** EN EXAMPLE **/

client.on("ready", async () => {
  const hanta = await jw("APIKEY", "EN");
  console.log(hanta);
  console.log(hanta.total);
  console.log(hanta.China);
  console.log(hanta.China.cases);
  console.log(hanta.China.todayCases);
  console.log(hanta.China.activeCases);
  console.log(hanta.China.deaths);
  console.log(hanta.China.todayDeaths);
  console.log(hanta.China.recovered);
  console.log(hanta.China.critical);
});

/** hanta -> {
  "China":{
      "cases":33,
      "todayCases"33,
      "activeCases":32,
      "deaths":1,
      "todayDeaths":1,
      "recovered":0,
      "critical":0
  },
  "Turkey":{
      "cases":0,
      "todayCases"0,
      "activeCases":0,
      "deaths":0,
      "todayDeaths":0,
      "recovered":0,
      "critical":0
  },
  "Italy":{
      "cases":0,
      "todayCases"0,
      "activeCases":0,
      "deaths":0,
      "todayDeaths":0,
      "recovered":0,
      "critical":0
  },
  .
  .
  .
  loggedInUser: {
      name: '✧ JWORSE ❃#3977',
      id: '461439955827163136'
  },
  date: '2020-03-15'
}*/

/** hanta.total -> {
      "cases":33,
      "todayCases"33,
      "activeCases":32,
      "deaths":1,
      "todayDeaths":1,
      "recovered":0,
      "critical":0
  }*/

/** hanta.China -> {
      "cases":33,
      "todayCases"33,
      "activeCases":32,
      "deaths":1,
      "todayDeaths":1,
      "recovered":0,
      "critical":0
  }*/

/** hanta.China.cases -> 33*/

/** hanta.China.todayCases -> 33*/

/** hanta.China.activeCases -> 32*/

/** hanta.China.deaths -> 1*/

/** hanta.China.todayDeaths -> 1*/

/** hanta.China.recovered -> 0*/

/** hanta.China.critical -> 0*/

      /** EN EXAMPLE **/

Linklerimiz: - Our Links:

DovizAPI
hantaVirusAPI
HantaVirusAPI
Discord