PHP code example of furesz / covid-data-checker
1. Go to this page and download the library: Download furesz/covid-data-checker library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
furesz / covid-data-checker example snippets
use CovidDataFetcher\Service\WaybackService;
Client(),
new \CovidDataFetcher\Service\SiteParserBuilder()
);
$result = $service->extractSiteDataForDate(new DateTimeImmutable('2020-03-10'));
echo json_encode($result, JSON_PRETTY_PRINT);