kris3xiq/weatherservice
Composer 安装命令:
composer require kris3xiq/weatherservice
包简介
Anax weather module.
README 文档
README
Badges
Installation
Step 1
Install using composer:
composer require kris3xiq/weatherservice
Step 2
Be in the root of your ANAX installation and run:
bash vendor/kris3xiq/weatherservice/install.bash
Step 3
Add your own API-keys to IPStack and OpenWeatherMap. If you open up your config directory you will notice the file api-keys-example. Follow the instructions given in the file.
Step 4
All you need to do now is to add the module to your ANAX navbar. Go into config/navbar/header.php Add the following lines into the menu-item array.
[
"text" => "Weather service",
"url" => "weather",
"title" => "Weather service",
"submenu" => [
"items" => [
[
"text" => "Weather service",
"url" => "weather",
"title" => "IP-Geolocator.",
],
[
"text" => "Weather service API(JSON)",
"url" => "weather-api",
"title" => "Weather service API(JSON).",
],
],
],
],
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-12-18