SplinterLandsAPI 0.27.0

dotnet add package SplinterLandsAPI --version 0.27.0
                    
NuGet\Install-Package SplinterLandsAPI -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="SplinterLandsAPI" Version="0.27.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SplinterLandsAPI" Version="0.27.0" />
                    
Directory.Packages.props
<PackageReference Include="SplinterLandsAPI" />
                    
Project file
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 SplinterLandsAPI --version 0.27.0
                    
#r "nuget: SplinterLandsAPI, 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 SplinterLandsAPI@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=SplinterLandsAPI&version=0.27.0
                    
Install as a Cake Addin
#tool nuget:?package=SplinterLandsAPI&version=0.27.0
                    
Install as a Cake Tool

Nuget Release <br /> CodeQL

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 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.

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
0.27.0 145 6/29/2024
0.26.0 140 6/29/2024
0.25.0 131 6/1/2024
0.24.0 147 3/3/2024
0.23.0 149 2/27/2024
0.22.0 151 2/25/2024
0.18.1 532 2/13/2022 0.18.1 is deprecated.
0.18.0 489 2/12/2022
0.17.0 484 2/12/2022
0.16.0 500 2/8/2022
0.15.0 493 2/8/2022
0.14.2 478 2/7/2022
0.14.1 480 2/7/2022
0.14.0 482 2/7/2022
0.13.0 495 2/6/2022
0.12.10 476 2/6/2022
0.12.9 494 2/6/2022