Search code examples
c#jsonwpfopenweathermap

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


I'm trying to create a Windows 10 Weather Application in WPF using C#. I have Weather Api from OpenWeatherMap

I'm using JSON. But, I don't know how to implement forecast data. I never used API before. I would be very thankful if you could help.


Solution

  • Here are some useful links to work with json in c#

    https://www.newtonsoft.com/json

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

    How to install JSON.NET using NuGet?

    http://json2csharp.com/