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

Latest commit

 

History

History
39 lines (27 loc) · 908 Bytes

readme.md

File metadata and controls

39 lines (27 loc) · 908 Bytes

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