TorontoWeatherA3815 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package TorontoWeatherA3815 --version 1.0.1                
NuGet\Install-Package TorontoWeatherA3815 -Version 1.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TorontoWeatherA3815" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TorontoWeatherA3815 --version 1.0.1                
#r "nuget: TorontoWeatherA3815, 1.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TorontoWeatherA3815 as a Cake Addin
#addin nuget:?package=TorontoWeatherA3815&version=1.0.1

// Install TorontoWeatherA3815 as a Cake Tool
#tool nuget:?package=TorontoWeatherA3815&version=1.0.1                

TorontoWeather

The TorontoWeather project contains a WeatherService class that fetches weather information for Toronto using the Open-Meteo API. This service retrieves the daily maximum temperatures for Toronto and includes the corresponding day names for each temperature.

Features

  • Fetches weather data asynchronously using the Open-Meteo API.
  • Retrieves daily maximum temperatures for Toronto.
  • Includes the day of the week (e.g., Monday, Tuesday) for each temperature.
  • Parses the JSON response with Newtonsoft.Json (JObject) for easier data manipulation.

Requirements

  • .NET 5 or later.
  • Internet access to fetch data from the Open-Meteo API.
  • Newtonsoft.Json for JSON parsing.

Getting Started

Install Dependencies

Before using the WeatherService class, ensure that your project includes the necessary dependencies. Install Newtonsoft.Json via NuGet:

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2 70 11/12/2024
1.0.1 74 11/12/2024
1.0.0 77 11/10/2024

first version