vardump-de/craft-openweather
Composer 安装命令:
composer require vardump-de/craft-openweather
包简介
providing openweather data for craft 3
README 文档
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
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-12-14
