nguyenary/covid-api
Composer 安装命令:
composer require nguyenary/covid-api
包简介
This is a small project of mine to provide API for statistics of covid cases in Vietnam as well as in the world using PHP language.
README 文档
README
Small library to collect statistics of Covid cases in Vietnam as well as in the world
Usage
- Run command:
composer install - Require file:
vendor/autoload.php - Initialize
new Covid()and point to get() method to get data - Example:
<?php use App\Covid; require_once('vendor/autoload.php'); $ncovi = new Covid(); $result = $ncovi->get(); // Option json decode (Format default: json) // $result = $ncovi->decode(true); print_r($result);
- Install for PHP Project use:
composer require nguyenary/covid-api
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Resource
Data is crawl at the address: https://ncovi.vnpt.vn
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-06-19