MetCheck.API
1.0.0
dotnet add package MetCheck.API --version 1.0.0
NuGet\Install-Package MetCheck.API -Version 1.0.0
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="MetCheck.API" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MetCheck.API --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MetCheck.API, 1.0.0"
#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 MetCheck.API as a Cake Addin
#addin nuget:?package=MetCheck.API&version=1.0.0
// Install MetCheck.API as a Cake Tool
#tool nuget:?package=MetCheck.API&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MetCheck.com API
Strongly typed responses for data fetched from MetCheck.com Definitions of values can be found at both MetCheck.com API & documented in Response.cs
Example
Example usage also included in Example.csproj
Call (get basic results)
using MetCheckAPI;
...
ForecastBody? forecast = await Forecaster.Fetch(50.9, -1);
Console.WriteLine(forecast?.ToString() ?? "Forecast fetch failed");
Response
<ResponseBody Date=10/05/2020 08:59:50 MetData=
<ResponseMetData ForeCast=
<ResponseForecast ForeCasts:
<ForecastSnapshot
Temperature=13,
DewPoint=8,
Rain=0.1,
FreezingLevel=2515,
UVIndex=0,
CloudCoverageTotal=93,
CloudCoverageHigh=89,
CloudCoverageMid=54,
CloudCoverageLow=45,
Humidity=74,
WindSpeed=11,
PressureAtSeaLevel=1005.92,
WindGustSpeed=13,
WindDirection=19,
WindLetter=NNE,
Icon=RO,
IconName=Intermittent Rain,
ChanceOfRain=23,
ChanceOfSnow=0,
Sunrise=10/05/2020 05:52:00,
Sunset=10/05/2020 17:59:00,
TimeStamp=10/05/2020 07:00:00,
SunriseOffset=05:52:00,
SunsetOffset=17:59:00,
SeeingIndex=None,
PickeringIndex=None,
TransIndex=None,
CumulusBaseHeight=None,
StratusBaseHeight=None,
FishingIndex=None,
EvapoTranspiration=None,
SoilMoisture10mm=None,
SoilMoisture100mm=None,
SoilMoisture400mm=None,
StormRisk=None,
TornadoRisk=None,
DryingTimeLight=None,
DryingTimeHeavy=None,
IsDayTime=True,
IsNightTime=False, >,
...100+ results
>>
Call (get aviation specific results with above)
using MetCheckAPI;
...
ForecastBody? forecast = await Forecaster.Fetch(50.9, -1, ForecastRequestType.Aviation);
Console.WriteLine(forecast?.ToString() ?? "Forecast fetch failed");
Response (Note CumulusBaseHeight & StatusBaseHeight are now set)
<ResponseBody Date=10/05/2020 09:03:05 MetData=
<ResponseMetData ForeCast=
<ResponseForecast ForeCasts:
<ForecastSnapshot
Temperature=14,
DewPoint=9,
Rain=0.1,
FreezingLevel=2484,
UVIndex=1,
CloudCoverageTotal=99,
CloudCoverageHigh=93,
CloudCoverageMid=55,
CloudCoverageLow=26,
Humidity=76,
WindSpeed=11,
PressureAtSeaLevel=1006.12,
WindGustSpeed=13,
WindDirection=30,
WindLetter=NNE,
Icon=RO,
IconName=Intermittent Rain,
ChanceOfRain=23,
ChanceOfSnow=0,
Sunrise=10/05/2020 05:52:00,
Sunset=10/05/2020 17:59:00,
TimeStamp=10/05/2020 08:00:00,
SunriseOffset=05:52:00,
SunsetOffset=17:59:00,
SeeingIndex=None,
PickeringIndex=None,
TransIndex=None,
CumulusBaseHeight=552,
StratusBaseHeight=561,
FishingIndex=None,
EvapoTranspiration=None,
SoilMoisture10mm=None,
SoilMoisture100mm=None,
SoilMoisture400mm=None,
StormRisk=None,
TornadoRisk=None,
DryingTimeLight=None,
DryingTimeHeavy=None,
IsDayTime=True,
IsNightTime=False, >,
...100+ results
>>
MetCheck.com JSON API
https://www.metcheck.com/OTHER/json_data.asp
License
MIT
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- No dependencies.
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.0 | 435 | 5/10/2020 |