npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

jw-hanta-api

v1.2.3

Published

JW Hanta Virüs API

Downloads

15

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.
  • TR: Tüm Ülkeler => https://hanta-api.glitch.me/ulkeler
  • EN: All Countries => https://hanta-api.glitch.me/countries

Ö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