JSON格式的Weather Underground API [英] Weather Underground API in JSON Format

查看:204
本文介绍了JSON格式的Weather Underground API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我想使用JSON格式而不是XML格式的Weather Underground API来获取天气警报,状况,预报,雷达等.我没有使用JSON从API和项目中获取信息的经验.告诉你如何解码 JSON供稿不适用于Weather Underground API.我想使用JSON,这样程序可以更快,更有效地加载信息.

我该如何实现?

谢谢!

P.S.在程序启动时,用户将需要能够输入邮政编码.

解决方案

Hi

您可能会很好看 在这里

您还可以在此网站上搜索"NewtonSoft"(例如,"NewtonSoft")-很多帖子可能会有所帮助.


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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆