Skip to content

vardump-de/craft-openweather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openweather plugin for Craft CMS 3.x

providing weather data from openweathermap data for craft 3

Screenshot

Requirements

This plugin requires Craft CMS 3.0.0-RC2 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require vardump-de/craft-openweather
    
  3. 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

About

providing openweather data for craft 3

Resources

License

Stars

Watchers

Forks

Packages

No packages published