Sebuah tool yang dibuat untuk mendapatkan data persebaran covid terbaru di Jawa Timur
https://api.covid.defrindr.my.id/jatim
include src/covid.php ke dalam project-mu . Kemudian deklarasikan kedalam sebuah variable
eg:
$covid = new Covid19;
$covid->getAllData();
| Name | Params | Desc |
|---|---|---|
| getAllZone | null | return all data |
| getZone | string / array | return all data from specific zone |
| get | null | return total case in indonesian |
| Name | Desc |
|---|---|
| $totalPositif | return count of positif case |
| $totalSembuh | return count of recovered case |
| $totalMeninggal | return count of death case |
Bagi kalian yang ingin berkontribusi silahkan lakukan pull request