【发布时间】:2019-05-01 12:31:55
【问题描述】:
我正在尝试使用 C# 在 WPF 中创建一个 Windows 10 Weather Application em>。我有来自OpenWeatherMap的Weather Api
我正在使用 JSON。但是,我不知道如何实现预测数据。我以前从未使用过 API。如果您能提供帮助,我将不胜感激。
【问题讨论】:
-
为了对要从 C# 调用的 http rest 调用进行建模,我使用的是 RestEase。要为 JSON 对象生成所需的 C# 类,我使用 jsonutils.com
标签: c# json wpf api openweathermap