Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class WeatherNow
- {
- // Coord class to handle coordinates as a single object.
- public class Coord
- {
- public double lon { get; set; }
- public double lat { get; set; }
- }
- public Coord coord { get; set; }
- public class Weather
- {
- public int id { get; set; }
- public string main { get; set; }
- public string description { get; set; }
- public string icon { get; set; }
- }
- public Weather[] weather { get; set; }
- public string Base { get; set; }
- public class Main {
- public float temp { get; set; }
- public int pressure { get; set; }
- public int humidity { get; set; }
- public float temp_min { get; set; }
- float temp_max { get; set; }
- }
- public Main main { get; set; }
- public double visibility { get; set; }
- public class Wind
- {
- public float speed { get; set; }
- public float deg { get; set; }
- }
- public Wind wind { get; set; }
- public double dt { get; set; }
- public class Sys
- {
- public int type { get; set; }
- public int id { get; set; }
- public float message { get; set; }
- public string country { get; set; }
- public long sunrise { get; set; }
- public long sunset { get; set; }
- }
- public Sys sys { get; set; }
- public int id { get; set; }
- public string name { get; set; }
- public int cod { get; set; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement