Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boring-dragon/covid19-dataset-scraper
Covid19 Dataset Scraper that scrapes data from https://covid19.health.gov.mv
https://github.com/boring-dragon/covid19-dataset-scraper
covid19 dataset maldives
Last synced: about 1 month ago
JSON representation
Covid19 Dataset Scraper that scrapes data from https://covid19.health.gov.mv
- Host: GitHub
- URL: https://github.com/boring-dragon/covid19-dataset-scraper
- Owner: boring-dragon
- Created: 2020-07-17T15:46:28.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-13T16:35:31.000Z (about 2 months ago)
- Last Synced: 2024-11-29T18:53:44.108Z (about 1 month ago)
- Topics: covid19, dataset, maldives
- Language: PHP
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# covid19-dataset-scraper
Covid19 Dataset Scraper that scrapes data from https://covid19.health.gov.mv
## Installation
```
composer require jinas/covid19-scraper
```## Usage
```php
use Jinas\Covid19Scraper\Scraper;$scraper = new Scraper;
$scraper->GetTableData();
```It returns an array of all the cases informations. Like so:
```
array(11) {
["case"]=>
string(7) "MAV2899"
["age"]=>
int(0)
["gender"]=>
string(4) "Male"
["nationality"]=>
string(8) "Maldives"
["condition"]=>
string(6) "Stable"
["transmission"]=>
string(16) "Cluster of Cases"
["cluster"]=>
string(0) ""
["confirmed"]=>
string(12) "16 July 2020"
["recovered"]=>
string(0) ""
["discharged"]=>
string(0) ""
["deceased"]=>
string(0) ""
}
```