JSON格式的Weather Underground API [英] Weather Underground API in JSON Format
问题描述
你好
我想使用JSON格式而不是XML格式的Weather Underground API来获取天气警报,状况,预报,雷达等.我没有使用JSON从API和项目中获取信息的经验.告诉你如何解码 JSON供稿不适用于Weather Underground API.我想使用JSON,这样程序可以更快,更有效地加载信息.
我该如何实现?
谢谢!
P.S.在程序启动时,用户将需要能够输入邮政编码.
Hi >
您可能会很好看 在这里
Hello,
I would like to use the Weather Underground API in JSON format instead of the XML format to get weather alerts, conditions, forecasts, radar, etc. I don't have any experience using JSON to get information from an API and items that show you how to decode a JSON feed don't work with the Weather Underground API. I want to use the JSON so that way the program will load the information faster and more efficient.
How can I achieve this?
Thanks!
P.S. The user will need to be able to type their zip code in when the program starts up to get the information.
Hi
You may do well to have a look HERE
You can also use the search of this site for (say) 'NewtonSoft' - there are quite a few posts that may be helpful.
这篇关于JSON格式的Weather Underground API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!