{"id":4989,"date":"2024-10-03T13:01:03","date_gmt":"2024-10-03T05:01:03","guid":{"rendered":""},"modified":"2024-10-03T13:01:03","modified_gmt":"2024-10-03T05:01:03","slug":"\u5b9e\u65f6\u5929\u6c14api\u63a5\u53e3_\u514d\u8d39\u5929\u6c14\u9884\u62a5api","status":"publish","type":"post","link":"https:\/\/mushiming.com\/4989.html","title":{"rendered":"\u5b9e\u65f6\u5929\u6c14api\u63a5\u53e3_\u514d\u8d39\u5929\u6c14\u9884\u62a5api"},"content":{"rendered":"
\u4eac\u4e1c\u4e07\u8c61\u4f18\u9009\u5929\u6c14\u67e5\u8be2api\uff0c\u5929\u6c14\u5b9e\u51b5\u63a5\u53e3\uff0c\u7531\u56fd\u5bb6\u6c14\u8c61\u4e2d\u5fc3(\u4e2d\u592e\u6c14\u8c61\u53f0)\u76f4\u4f9b\uff0c\u56fd\u51853*3km\u7cbe\u7ec6\u5316\u5929\u6c14\u683c\u70b9\u5b9e\u51b5\u6570\u636e\uff0c\u66f4\u6709\u751f\u6d3b\u6307\u6570\u3001\u536b\u661f\u4e91\u56fe\u3001\u96f7\u8fbe\u56fe\u7b49\u9ad8\u7ea7\u6570\u636e\uff0c\u4e0d\u4ec5\u662f\u5929\u6c14\u5b9e\u51b5\uff0c\u66f4\u662f\u5168\u65b9\u4f4d\u7684\u5929\u6c14\u6570\u636e\u670d\u52a1\u3002<\/p>\n
\u5929\u6c14\u5b9e\u51b5<\/p>\n
\u6807\u8bc6\uff1aWeatherLive<\/p>\n
\u63a5\u53e3\u5730\u5740\uff1a<\/p>\n
https:\/\/way.jd.com\/FourDSmart\/WeatherLive<\/p>\n
\u8bf7\u6c42\u65b9\u5f0f\uff1a<\/p>\n
HTTPS GET POST<\/p>\n
\u8bf7\u6c42\u793a\u4f8b\uff1a<\/p>\n
https:\/\/way.jd.com\/FourDSmart\/WeatherLive?longitude=100&latitude=50&appkey=\u60a8\u7533\u8bf7\u7684APPKEY \u70b9\u6b64\u83b7\u53d6APPKEY<\/p>\n
QUERY\u8bf7\u6c42\u53c2\u6570<\/p>\n
\u516c\u5171\u8bf7\u6c42\u53c2\u6570<\/p>\n
\u540d\u79f0 \u7c7b\u578b \u5fc5\u586b \u793a\u4f8b\u503c \u63cf\u8ff0<\/p>\n
appkey String \u662f 1 \u60a8\u7533\u8bf7\u7684appkey<\/p>\n
\u4e1a\u52a1\u8bf7\u6c42\u53c2\u6570<\/p>\n
\u540d\u79f0 \u7c7b\u578b \u5fc5\u586b \u793a\u4f8b\u503c \u63cf\u8ff0<\/p>\n
longitude String \u662f 100 \u7ecf\u5ea6<\/p>\n
latitude String \u662f 50 \u7eac\u5ea6<\/p>\n
\u8fd4\u56de\u53c2\u6570<\/p>\n
\u516c\u5171\u8fd4\u56de\u53c2\u6570<\/p>\n
\u540d\u79f0 \u7c7b\u578b \u793a\u4f8b\u503c \u63cf\u8ff0<\/p>\n
code string 10000 \u66f4\u591a\u8fd4\u56de\u53c2\u6570\u793a\u4f8b\u503c\u8bf7\u53c2\u770b\u201c\u9519\u8bef\u53c2\u7167\u7801\u201d<\/p>\n
charge boolean false \u6216 true false\uff1a\u4e0d\u6263\u8d39 true\uff1a\u6263\u8d39<\/p>\n
msg string \u67e5\u8be2\u6210\u529f \u66f4\u591a\u8fd4\u56de\u53c2\u6570\u793a\u4f8b\u503c\u8bf7\u53c2\u770b\u201c\u9519\u8bef\u53c2\u7167\u7801\u201d<\/p>\n
result object {...} \u6570\u636e\u67e5\u8be2\u7ed3\u679c<\/p>\n
\u4e1a\u52a1\u8fd4\u56de\u53c2\u6570<\/p>\n
\u540d\u79f0 \u7c7b\u578b \u793a\u4f8b\u503c \u63cf\u8ff0<\/p>\n
data obj<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"\u5b9e\u65f6\u5929\u6c14api\u63a5\u53e3_\u514d\u8d39\u5929\u6c14\u9884\u62a5api\u4eac\u4e1c\u4e07\u8c61\u4f18\u9009\u5929\u6c14\u67e5\u8be2api\uff0c\u5929\u6c14\u5b9e\u51b5\u63a5\u53e3\uff0c\u7531\u56fd\u5bb6\u6c14\u8c61\u4e2d\u5fc3(\u4e2d\u592e\u6c14\u8c61\u53f0)\u76f4\u4f9b\uff0c\u56fd\u51853*3km\u7cbe\u7ec6\u5316...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/4989"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=4989"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/4989\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=4989"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=4989"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=4989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}