PHP CoronaVirus Database API from NCDC: Provide CoronaVirus data and serve its as an API

Recommend this page to a friend!
  Info   View files Example   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2020-06-14 (25 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 40 This week: 2All time: 9,876 This week: 111Up
Version License PHP version Categories
ncdc 1.0.0The PHP License5PHP 5, Web services, Geography, Parsers, H...
Description Author
This package is specific mainly for applications used in Nigeria 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.

  Performance   Level  
Name: Busari Ridwan <contact>
Classes: 2 packages by
Country: Nigeria Nigeria
Age: ???
All time rank: 389528 in Nigeria Nigeria
Week rank: 38 Up4 in Nigeria Nigeria Up
Innovation award
Innovation award
Nominee: 1x

Details

NCDC

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/

  Files folder image Files  
File Role Description
Files folder image.idea (6 files)
Files folder imageapp (1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  .idea  
File Role Description
  Accessible without login Plain text file misc.xml Data Auxiliary data
  Accessible without login Plain text file modules.xml Data Auxiliary data
  Accessible without login Plain text file NCDC.iml Data Auxiliary data
  Accessible without login Plain text file php.xml Data Auxiliary data
  Accessible without login Plain text file vcs.xml Data Auxiliary data
  Accessible without login Plain text file workspace.xml Data Auxiliary data

  Files folder image Files  /  app  
File Role Description
Files folder imageServices (2 files)

  Files folder image Files  /  app  /  Services  
File Role Description
  Plain text file BaseService.php Class Class source
  Plain text file ScrapNcdcWebsite.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:40
This week:2
All time:9,876
This week:111Up

For more information send a message to info at phpclasses dot org.