在后续写程序的过程中,我们应当以Json的格式来解析这部分数据,得到我们想要的通达信 全推数据接口,接口
以下为请求得到的数据:{“data”:{“yesterday”:{“date”:“28日星期一”,“high”:“高温28℃”,“fx”:“无持续风向”,“low”:“低温21℃”,“fl”:'',“type”:“多云”},“city”:“深圳”,“forecast”:[{“date”:“29日星期二”,“high”:“高温27℃”,“fengli”:'',“low”:“低温20℃”,“fengxiang”:“无持续风向”,“type”:“晴”},{“date”:“30日星期三”,“high”:“高温27℃”,“fengli”:'',“low”:“低温20℃”,“fengxiang”:“东北风”,“type”:“多云”},{“date”:“31日星期四”,“high”:“高温27℃”,“fengli”:'',“low”:“低温21℃”,“fengxiang”:“东北风”,“type”:“晴”},{“date”:“1日星期五”,“high”:“高温28℃”,“fengli”:'',“low”:“低温22℃”,“fengxiang”:“东北风”,“type”:“晴”},{“date”:“2日星期六”,“high”:“高温28℃”,“fengli”:'',“low”:“低温22℃”,“fengxiang”:“无持续风向”,“type”:“晴”}],“ganmao”:“各项气象条件适宜,无明显降温过程,发生感冒机率较低。”,“wendu”:“23”},“status”:1000,“desc”:“OK”}
请求参数
province | string | 1 | 对应哪个省 |
city | string | 1 | 对应哪个城市 |
使用Postman发起Get请求
文章为作者独立观点,不代表股票交易接口观点