HeliumApi.SDK
1.1.0
dotnet add package HeliumApi.SDK --version 1.1.0
NuGet\Install-Package HeliumApi.SDK -Version 1.1.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="HeliumApi.SDK" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HeliumApi.SDK --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: HeliumApi.SDK, 1.1.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 HeliumApi.SDK as a Cake Addin #addin nuget:?package=HeliumApi.SDK&version=1.1.0 // Install HeliumApi.SDK as a Cake Tool #tool nuget:?package=HeliumApi.SDK&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
HeliumApi.SDK - Unofficial Helium Api SDK for .NET
An unofficial SDK I created to work with Helium Api endpoints in .NET applications (Console, Web or Mobile). This SDK follow service models and is divided into different service classes.
Required
How to use
Available service classes are:
- HotspotService: methods to retrieve and work with hotspots, beacon and witness transactions information
- GetHotspot
- GetHotspotByName
- GetWitnessed
- GetRoles
- GetTransaction
- GetChallenges
- GetNetworkChallenges
- RetrieveNetworkChallenges
- GetBeaconTransactions
- GetBlockTransactions
- GetWitnessedTransactions
- GetHotspotsByRadius
- GetHotspotsByBox
- AccountService: method to work with user accounts information
- GetAccount
- GetRewards
- GetDailyRewards
- OraclePriceService: methods to work with Oracle price information
- GetOraclePrice
Caching
The SDK by default has response caching enabled for most objects. However you can disable it by using
CacheOptions.DisableCacheFor<object type>();
The cache validity is by default set to 1 day (24 hours). You can change it first thing in your program via CacheOptions.
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 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- GeoCoordinate.NetCore (>= 1.0.0.1)
- LocalObjectCache (>= 1.0.1)
- Newtonsoft.Json (>= 13.0.1)
- Polly (>= 7.2.3)
-
net7.0
- GeoCoordinate.NetCore (>= 1.0.0.1)
- LocalObjectCache (>= 1.0.1)
- Newtonsoft.Json (>= 13.0.1)
- Polly (>= 7.2.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.