Appearance
一、打开 openweathermap 官方网站
浏览器访问: https://openweathermap.org/

二、注册:
(一)打开注册页面:
点击右上角 "Sign in" , 选择 "Create an Account"

或者直接访问:https://home.openweathermap.org/users/sign_up
(二)填写身份信息

填写完成后(如下图),提交

(三)确认邮件链接

进入邮箱,点击"Verify your email"

此时,会跳转回官网,并且是登录状态(如果不是,使用刚注册的用户名、密码直接登录)。
三、获取 API Key

紧接上一补,进入 OpenWeatherMap 官网,点击你的用户名,选择“My API keys”

将下面的 Key 复制出来,保存。
(一)测试 API Key 是否生效
请求北京地区的天气情况:
https://api.openweathermap.org/data/2.5/weather?q=Beijing,cn&APPID=你的API-Key
正常返回格式如下:

注意:如果返回 401,请不要惊慌,因为 API Key 会过一会儿生效,时间一般在一小时内

四、在设置项中配置天气 API Key
在手机上 Connect IQ APP 中,打开对应的表盘“设定”按钮:

将第(三)步复制的 API Key,粘贴到 OpenWeatherMap 配置项:
