vardump-de / craft-openweather
providing openweather data for craft 3
Package info
github.com/vardump-de/craft-openweather
Type:craft-plugin
pkg:composer/vardump-de/craft-openweather
1.0.0
2017-12-14 10:19 UTC
Requires
- craftcms/cms: ^3.0.0-RC2
- guzzlehttp/guzzle: ~6.3.0
This package is not auto-updated.
Last update: 2026-03-04 10:38:43 UTC
README
providing weather data from openweathermap data for craft 3
Requirements
This plugin requires Craft CMS 3.0.0-RC2 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project -
Then tell Composer to load the plugin:
composer require vardump-de/craft-openweather -
In the Control Panel, go to Settings → Plugins and click the “Install” button for openweather.
Configuring openweather
Insert your openweathermap apik key in the plugins setting page.
Using openweather
{% set weather = craft.openweather.findById(12345, {'units': 'metric'}) %}
openweather Roadmap
Some things to do, and ideas for potential features:
- add forecast
- configurable cache time
- add logo
- add some translations
- add js query
