如何使用 JSON (OpenWeatherMap) 在 C# 中使用 API 文档

How to use API docs in C# using JSON (OpenWeatherMap)

我正在尝试在 WPF[= 中创建一个 Windows 10 Weather Application 33=] 使用 C#。我有 Weather Api 来自 OpenWeatherMap

我正在使用 JSON。但是,我不知道如何实现预测数据。我以前从来没有用过API。如果您能提供帮助,我将不胜感激。

这里有一些有用的链接,可以在 c#

中使用 json

https://www.newtonsoft.com/json

https://www.newtonsoft.com/json/help/html/Samples.htm#!

How to install JSON.NET using NuGet?

http://json2csharp.com/