Skip to content

Latest commit

 

History

History
 
 

Weather

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Scriptbale-Weather

使用方法:

1.你需要一个测试版的Scriptable TestFlight

2.到Open Weather注册,获取你的API_KEY和City_ID填入下面代码中

  • API_Key:注册后到API keys页面生成
  • City_ID:搜索你的城市名,例如Guangzhou,点进去该城市页面后,URL后的数字即City_ID
	//API_KEY
	let API_WEATHER = "XXXXXXXXXXXXXXXX";//Load Your api here
	let CITY_WEATHER = "XXXXXX";//add your city ID

3.下载Hello-Weather.js到Scriptable 4.点击运行脚本,根据提示操作即可。

充电中 充满电

Tanks