mihaichris / air-quality-cli
🍃 Air Quality CLI
v0.7.0
2023-08-05 11:39 UTC
Requires
- php: ^8.2
- mihaichris/air-quality: ^0.5.0
- minicli/command-help: ^1.0
- minicli/minicli: ^4.0
Requires (Dev)
- infection/infection: ^0.26.21
- laravel/pint: ^1.10
- pestphp/pest: ^2.6.1
- phpstan/phpstan: ^1.10.15
- rector/rector: ^0.16
- symfony/var-dumper: ^6.2.8
README
Description
Air Quality CLI is a small CLI tool that is powered by air-quality PHP package. Provide de coordinates of the location you want and retrieve the weather variables of that point location.
🚀 Installation
To install, do:
composer global require mihaichris/air-quality-cli
Basic Usage
# Get current air quality from Bucharest air-quality.bat current latitude=44.38 longitude=26.14 # Get air quality from Bucharest between two dates air-quality.bat between latitude=44.38 longitude=26.14 start_date=2023-05-26 end_date=2023-05-27 # Get forecast air quality from Bucharest air-quality.bat next days=2 latitude=44.38 longitude=26.14 # Get forecast air quality from Bucharest filtered by grass pollen air-quality.bat next days=2 variables=grass_pollen latitude=44.38 longitude=26.14
👨💻 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.