SplinterLands.DTOs
0.25.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package SplinterLands.DTOs --version 0.25.0
NuGet\Install-Package SplinterLands.DTOs -Version 0.25.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="SplinterLands.DTOs" Version="0.25.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SplinterLands.DTOs --version 0.25.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SplinterLands.DTOs, 0.25.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 SplinterLands.DTOs as a Cake Addin #addin nuget:?package=SplinterLands.DTOs&version=0.25.0 // Install SplinterLands.DTOs as a Cake Tool #tool nuget:?package=SplinterLands.DTOs&version=0.25.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SplinterLandsAPI
This is just a demonstration of using the Splinterlands API through .NET 8.0 C#.
These API's are not documented and are subject to change at any time.
Client
The client is defined as implementing the ISplinterLandsClient interface which is a collection of interfaces seperated by 'Api'. Each interface supports both async and non async methods.
Supported APIs
Cards
- GetCards - returns a list of all Splinterlands cards
- GetCardDetails - look up a card by its id, returns details on ownership
Battles
- GetBattlesForPlayer - returns the last 50 battles a player has participated in
Player
- GetPlayersCurrentQuest - returns details about the current quest for a player
- GetReferralsForPlayer - returns an object with a list of referrals and a list of purchases made by the referrals
- GetPackPurchaesForPlayerByEdition - returns an object describing the purchases made for packs by edition
- GetActiveRentalsForPlayer - returns a list of active rentals for a player
- GetActivelyRentaledCardsForPlayer - returns a list of actively rented cards for a player
- GetTokenBalancesForPlayer - returns a list of all tokens held by the player and their balances
Land
- GetActiveWorksite - returns active worksite information for a plot by deed_uid
- GetActiveWorksiteAsync -
- GetDeedDetails - get the details about a deed by id
Liquidity Pools
- GetLiquidityPools - returns list of all available liquidity pools
- GetLiquidityPoolsAsync - returns list of all available liquidity pools async
- GetLiquidityRegionResources - gets regions player holds resources in
- GetLiquidityRegionResourcesAsync - gets regions player holds resources in async
- GetPlayerLiquidityHoldings - returns list of liquidity by player and resource
- GetPlayerLiquidityHoldingsAsync - returns list of liquidity by player and resource async
- GetLiquidityPoolById - returns liquidity pool by id
- GetLiquidityPoolByIdAsync - returns liquidity pool by id async
Known Issues
- If you hit any of these API's in quick sucession you will get rate limited'
Product | Versions 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.
-
net8.0
- Newtonsoft.Json (>= 13.0.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SplinterLands.DTOs:
Package | Downloads |
---|---|
SplinterLandsAPI
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.27.0 | 80 | 6/29/2024 |
0.26.0 | 86 | 6/29/2024 |
0.25.0 | 91 | 6/1/2024 |
0.24.0 | 104 | 3/3/2024 |
0.23.0 | 110 | 2/27/2024 |
0.22.0 | 108 | 2/25/2024 |
0.18.1 | 501 | 2/13/2022 |
0.18.0 | 474 | 2/12/2022 |
0.17.0 | 480 | 2/12/2022 |
0.16.0 | 481 | 2/8/2022 |
0.15.0 | 479 | 2/8/2022 |
0.14.2 | 476 | 2/7/2022 |
0.14.1 | 467 | 2/7/2022 |
0.14.0 | 475 | 2/7/2022 |
0.13.0 | 474 | 2/6/2022 |
0.12.10 | 470 | 2/6/2022 |
0.12.9 | 471 | 2/6/2022 |
0.12.8 | 359 | 2/6/2022 |