Weather.NET
0.1.0
It's recommended to move to 1.0.0 because 0.1.0 might be buggy, and has a lot of less features. 1.0.0 is also long-time support.
See the version list below for details.
dotnet add package Weather.NET --version 0.1.0
NuGet\Install-Package Weather.NET -Version 0.1.0
<PackageReference Include="Weather.NET" Version="0.1.0" />
paket add Weather.NET --version 0.1.0
#r "nuget: Weather.NET, 0.1.0"
// Install Weather.NET as a Cake Addin
#addin nuget:?package=Weather.NET&version=0.1.0
// Install Weather.NET as a Cake Tool
#tool nuget:?package=Weather.NET&version=0.1.0
Weather.NET
A simple .NET library that uses OpenWeatherMap API to get the weather of different places and cities.
How to use
To start using this library, you can do this in multiple ways:
- Download the library as a package in https://nuget.org/packages/Weather.NET. (Recommended)
- Download the source code and use it as a class library.
How to use as a package
Using the .NET CLI (you just need to download .NET), in your command line, type the command cd projectFolder
with "projectFolder" being the path of the project you are working on, then, type dotnet add package Weather.NET
.
This will download the package and add the package as a reference. Now you can use the library in your code by just typing using Weather.NET;
at the beginning of your C# code.
How to use as a class library.
This is not the best way to do it, but you can edit the code of the library yourself, which can be useful.
To download the source code you can easily go to this repository (https://github.com/EloyEspinosa/Weather.NET), then click on the green button that says "Code", and then click on "Download ZIP" and then the download should start.
After the download ends, decompress the .zip file on the path that you prefer, and then type the following commands on the command line:
cd projectFolder
with "projectFolder" being the folder of the original project you are working on, and then dotnet add reference libraryFolder/Weather.NET.csproj
with "libraryFolder" being the folder where you saved the source code.
After this you can finally start using the library by just writing:
using Weather.NET;
At the top of your C# code.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
-
net6.0
- Newtonsoft.Json (>= 13.0.1)
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.3.3 | 250 | 11/19/2023 | |
1.3.2 | 1,267 | 8/21/2022 | |
1.3.1 | 418 | 7/20/2022 | |
1.3.1-beta.1 | 120 | 7/15/2022 | |
1.3.0 | 413 | 1/3/2022 | |
1.2.1 | 250 | 12/22/2021 | |
1.2.0 | 256 | 12/20/2021 | |
1.1.1 | 286 | 12/17/2021 | |
1.1.0 | 256 | 12/16/2021 | |
1.0.0 | 244 | 12/10/2021 | |
0.3.0 | 299 | 12/9/2021 | |
0.2.0 | 300 | 12/8/2021 | |
0.1.0 | 380 | 12/5/2021 |
Created the package.