algn / weather
Test
4.0.0
2019-12-13 13:45 UTC
Requires (Dev)
- php: ^7.2
- phpunit/phpunit: ^7
This package is auto-updated.
Last update: 2026-03-28 00:03:13 UTC
README
Usage
Require the file via the namespace algn/DarkSky and createa new instance of the class by passing your api key in the constructor.
You can use the following methods to retrieve data from dark sky.
today() - Returns weather data from today
week() - Returns weather data from today and a week ahead
past30Days() - Returns data from the past month