SplinterLands.DTOs
0.27.0
dotnet add package SplinterLands.DTOs --version 0.27.0
NuGet\Install-Package SplinterLands.DTOs -Version 0.27.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.27.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SplinterLands.DTOs" Version="0.27.0" />
<PackageReference Include="SplinterLands.DTOs" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SplinterLands.DTOs --version 0.27.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SplinterLands.DTOs, 0.27.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.
#:package SplinterLands.DTOs@0.27.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SplinterLands.DTOs&version=0.27.0
#tool nuget:?package=SplinterLands.DTOs&version=0.27.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
- GetLiquidityRewards - returns a collection of all liquidity rewards earned
- GetLiquidityRewardsAsync - returns a collection of all liquidity rewards earned async
Token Activity
- GetTokenHistory - returns history of tokens for player
- GetTokenHistoryAsync - returns history of tokens for player async
- GetExchangeHistory - returns exchange history of tokens for player
- GetExchangeHistoryAsync - returns exchange history of tokens for player 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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 | 163 | 6/29/2024 |
0.26.0 | 163 | 6/29/2024 |
0.25.0 | 167 | 6/1/2024 |
0.24.0 | 174 | 3/3/2024 |
0.23.0 | 181 | 2/27/2024 |
0.22.0 | 178 | 2/25/2024 |
0.18.1 | 613 | 2/13/2022 |
0.18.0 | 583 | 2/12/2022 |
0.17.0 | 597 | 2/12/2022 |
0.16.0 | 594 | 2/8/2022 |
0.15.0 | 591 | 2/8/2022 |
0.14.2 | 586 | 2/7/2022 |
0.14.1 | 579 | 2/7/2022 |
0.14.0 | 585 | 2/7/2022 |
0.13.0 | 584 | 2/6/2022 |
0.12.10 | 572 | 2/6/2022 |
0.12.9 | 583 | 2/6/2022 |
0.12.8 | 463 | 2/6/2022 |