Skip to content
This repository has been archived by the owner on Sep 27, 2020. It is now read-only.

defrindr/covid19-jatim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Corona Info Update

Information

Sebuah tool yang dibuat untuk mendapatkan data persebaran covid terbaru di Jawa Timur

https://api.covid.defrindr.my.id/jatim

Usage

include src/covid.php ke dalam project-mu . Kemudian deklarasikan kedalam sebuah variable eg:

$covid = new Covid19;

$covid->getAllData();

Function

Name Params Desc
getAllZone null return all data
getZone string / array return all data from specific zone
get null return total case in indonesian

variable

Name Desc
$totalPositif return count of positif case
$totalSembuh return count of recovered case
$totalMeninggal return count of death case

Contribute

Bagi kalian yang ingin berkontribusi silahkan lakukan pull request