I am using dark sky API for my weather application. How can I get the same formatting like on the website. This is how the formatting looks on the website: https://darksky.net/dev/docs/forecast
And when I try to print the info I get this: https://www.scribd.com/document/330855135/ex
This is my code for printing:
Console.Write("Please enter the name of the location: ");
string locationName = Console.ReadLine();
var location = new GoogleLocationService();
var point = location.GetLatLongFromAddress(locationName);
var lat = point.Latitude;
var lng = point.Longitude;
using (var client = new WebClient())
{
var resStr = client.DownloadString("https://api.darksky.net/forecast/d9b0a7d6636dad5856be677f4c19e4f2/" + lat + "," + lng);
output = resStr;
}
return output;