mihaichris/air-quality
最新稳定版本:v0.5.0
Composer 安装命令:
composer require mihaichris/air-quality
包简介
🍃 Air Quality API
README 文档
README
Description
Air-quality allows you to retrieve the values for different pollutants and pollen from a region based on specific coordinates 🍃. The library is powered by OpenMeteo air quality API.
🚀 Installation
$ composer require mihaichris/air-quality
Basic Usage
use Air\Quality\AirQuality; //Getting the air quality from Bucharest. $airQuality = new AirQuality(44.43, 26.11); //Get the air quality now. $airQuality->getNow(); //Get the air quality in the past days. $airQuality->getPast(2); //Get the air quality between specific dates. $airQuality->getBetweenDates('2023-01-01', '2023-02-01');
👨💻 Author
Mihai-Cristian Făgădău
- Github: @mihaichris
- LinkedIn: in/mihai-fagadau
- Website: mihaifagadau.dev
🤝 Contributing
Contributing details can be found at here.
📝 License
This project is MIT licensed.
统计信息
- 总下载量: 342
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-05-06
