|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not yet rated by the users||Total: 57 ||All time: 10,445 This week: 129|
This package is specific mainly for applications used in Nigeria
This package can provide CoronaVirus data and serve its as an API.
It can access the Nigeria Centre for Disease Control site dedicated to publishing the CoronaVirus statistics and parses its pages to extract the current statistics values about the evolution of the disease in Nigeria.
The package returns an array with total numbers that can be served as an API response which includes the total number of confirmed cases, the total number of active cases, total number of recovered_cases and the total number of dead cases.
header("HTTP/1.1 200 OK");
header("Content-Type: application/json; charset=UTF-8");
$response = (new \App\Services\ScrapNcdcWebsite())->run();
echo json_encode($response, JSON_PRETTY_PRINT);
This scripts scraps COVID19 data from NCDC official website and return it in a json response that can be used as an API
The endpoint is located in the following URL : https://pacific-coast-07995.herokuapp.com/
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.