mihaichris/air-quality-cli

v0.7.0 2023-08-05 11:39 UTC

This package is auto-updated.

Last update: 2024-10-05 14:16:04 UTC


README

Air Quality

GitHub Workflow Status (master) Codecov Open Issues

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

🤝 Contributing

Contributing details can be found at here.

📝 License

This project is MIT licensed.