C# SDK for interaction with jpn-cards.com
Find a file
2023-07-26 14:04:02 +02:00
.github/workflows Create codeql.yml 2023-04-01 11:23:21 +02:00
docs Updates documentation 2023-03-24 18:16:25 +01:00
JpnCardsPokemon.Sdk Updates dependencies 2023-07-26 14:03:45 +02:00
JpnCardsPokemon.Tests Updates dependencies 2023-07-26 14:03:45 +02:00
.gitignore Initial commit 2023-01-28 21:16:29 +01:00
JpnCardsPokemonSdk.sln Reorganizes project structure 2023-03-01 22:06:38 +01:00
LICENSE Initial commit 2023-01-28 21:16:29 +01:00
README.md Update README.md 2023-03-03 19:28:34 +01:00

japanese-pokemon-cards-sdk-csharp

nuget downloads license vulnerabilities dependencies

Dependency-free C# SDK for interaction with jpn-cards.com. With the SDK you can gather information about Japanese Pokémon TCG. This includes information about sets and cards, including current price information if available. The data is provided by an external API. Please check the above link for more information. The SDK only fetches their current JSON data and wraps them into object.

Installing

The package is available at Nuget.

.Net CLI:: dotnet add package JpnCardsPokemon.Sdk --version 0.1.0-beta

Package manager: NuGet\Install-Package JpnCardsPokemon.Sdk -Version 0.1.0-beta

Documentation

You can find full documentation here.

Examples

var client = new ApiClient();
// fetch all set information
var sets = await client.FetchSetsAsync();

// fetch cards from set
var vmaxClimaxCards = await Client.FetchCardsAsync(new CardQueryFilterBuilder { SetCode = "s12a" });

// fetch all morpeko cards
var morpekoCards = await Client.FetchCardsAsync(new CardQueryFilterBuilder { Name = "morpeko" });

// fetch all Charizard drawn by Arita
var aritaCharizardCards = await Client.FetchCardsAsync(new CardQueryFilterBuilder { Name = "charizard", Artist = "mitsuhiro arita" });