Sample, C# - converting XML forecast data to CSV

Version 6

    This C# sample demonstrates

    • How to transform forecast data in XML into CSV
    • How to make web calls to WeatherSentry REST Service.
    • How to retrieve an hourly 14 day forecast for a given postal code

     

    To use:

    • Change the USERNAME and PASSWORD variables to your own account name and password, either in code or in the config file
    • Optionally change the postal code (you can use mine if you want, I don't mind)
    • Compile and run! By default, the output goes to C:\Temp

     

    Other potentially useful resources:

    Programming with the WeatherSentry® REST Service

    WeatherSentry API Services Changelog

     

     

    Comments? Questions? Leave them here.