lingul / ramverk1-weathermodule
Anax 模块,用于天气预测。
1.0.6
2020-12-02 11:12 UTC
Requires
- anax/anax-ramverk1-me: ^1.0.0
- anax/remserver: 2.1.3
Requires (Dev)
- phpunit/phpunit: ^7
README
ramverk1-weathermodule
ramverk1 课程中 redovisa 网页的天气模块。
安装
- 通过将名称添加到 composer 或前往您的 anax 安装文件夹并写入(最新版本可能有所变化)来安装模块:
composer require lingul/ramverk1-weathermodule ^v1.2.1
- 使用脚手架后处理脚本文件安装
bash vendor/lingul/ramverk1-weathermodule/.anax/scaffold/postprocess.d/700_weather.bash
- 在 config/api.php 中输入 API 密钥
<?php
return ["enter apikey", "enter apikey"];