evilbengt/weather

This package is abandoned and no longer maintained. No replacement package was suggested.

Module for weather related stuff.

1.0.4 2019-12-22 18:08 UTC

This package is auto-updated.

Last update: 2020-09-22 20:45:36 UTC


README

Build Status

Scrutinizer Code Quality

Build Status

Code Coverage

Module for weather services.

Installation

  • Copy folders /src, /config, /view to the anax installation. If installed with composer, these files can be found in [ANAX_INSTALL_PATH]/vendor/evilbengt/weather/. If you have rsync installed, you may run the following commands from your anax install path to do this automatically:

    • rsync -av vendor/evilbengt/weather/src/ src/
    • rsync -av vendor/evilbengt/weather/config/ config/
    • rsync -av vendor/evilbengt/weather/view/ view/
  • A sample config-file can be found in [ANAX_INSTALL_PATH]/config/weather. Rename config_sample.txt to config.php and replace any API_KEY_GOES_HERE with your corresponding key.

  • The module's services is now accessible on /weather and /weather/api. See /weather/api/doc for documentation on how to use the API.

  • To add the services to the navbar, you may use the sample-file [ANAX_INSTALL_PATH]/config/navbar/weather-navbar-sample.txt.