TorontoWeather_148 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package TorontoWeather_148 --version 1.0.2                
NuGet\Install-Package TorontoWeather_148 -Version 1.0.2                
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="TorontoWeather_148" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TorontoWeather_148 --version 1.0.2                
#r "nuget: TorontoWeather_148, 1.0.2"                
#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 TorontoWeather_148 as a Cake Addin
#addin nuget:?package=TorontoWeather_148&version=1.0.2

// Install TorontoWeather_148 as a Cake Tool
#tool nuget:?package=TorontoWeather_148&version=1.0.2                

Toronto Weather API Library

Introduction

The Toronto Weather API Library provides developers with an easy-to-use service for fetching daily weather data for Toronto, including maximum temperatures, dates, and the corresponding day of the week. Built for .NET applications, this library ensures seamless integration with the Open-Meteo weather service.


Key Features

  • Retrieve daily maximum temperatures for Toronto.
  • Access weather data with dates and day names (e.g., "Monday, 2024-11-17").
  • Supports asynchronous operations for optimal performance.
  • Lightweight and developer-friendly, powered by Newtonsoft.Json for robust JSON parsing.

Supported Platforms

  • Framework: .NET 8.0
  • Dependencies:
    • NETStandard.Library (>= 2.0.3)
    • Newtonsoft.Json (>= 13.0.3)
    • System.Net.Http (>= 4.3.4)

Getting Started

Installation

Add the package to your project using NuGet:

dotnet add package TorontoWeatherA3

Quick Start Guide Import the Library Add the following using directive to your code:

using TorontoWeather;

Fetch Weather Data Use the WeatherService class to fetch the weather details asynchronously:

var weatherService = new WeatherService();
var weatherData = await weatherService.GetTorontoWeatherAsync();
Console.WriteLine(weatherData);

Sample Output

Toronto Weather Data:
2024-11-17 (Friday): 12.3°C
2024-11-18 (Saturday): 14.6°C
2024-11-19 (Sunday): 15.8°C

How It Works API Integration: The library integrates with the Open-Meteo API to fetch weather details. Processing: Parses JSON responses using Newtonsoft.Json. Extracts and formats maximum temperature, date, and day information. Formatted Output: Combines the data into a clean, developer-readable format. Use Case This library is perfect for:

Developers building apps requiring real-time Toronto weather data. Weather dashboards and monitoring tools. Quick integration into ASP.NET Core MVC or console applications. API Details Latitude: 43.7 Longitude: -79.42 Daily Data: Maximum temperature. Timezone: America/Toronto. For detailed API documentation, visit Open-Meteo API.

Release Notes Version 1.0.0 Initial release with full functionality for Toronto weather data. Provides maximum temperature, date, and day of the week. Support If you encounter any issues or have questions, please reach out via the GitHub repository or email the package maintainer.

License Author: Monisha Ranjan Year: 2024 Licensed under the MIT License.


### **How This README.md Works**
- Properly formatted using Markdown (`#` for headers, `-` for lists, etc.).
- Includes sections for **features**, **usage**, **installation**, and **license**.
- Ready for direct use in your project.

Let me know if you need further modifications!
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.3 70 11/18/2024
1.0.2 70 11/18/2024
1.0.1 71 11/18/2024

This version only has Toronto weather.