Update README.md
This commit is contained in:
parent
40f398e84f
commit
4c355e42ec
13
README.md
13
README.md
|
@ -6,12 +6,17 @@
|
||||||
Dependency-free C# SDK for interaction with [jpn-cards.com](https://jpn-cards-site.readthedocs.io/en/latest/home/). 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.
|
Dependency-free C# SDK for interaction with [jpn-cards.com](https://jpn-cards-site.readthedocs.io/en/latest/home/). 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.
|
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](https://www.nuget.org/packages/JpnCardsPokemon.Sdk/).
|
||||||
|
|
||||||
|
**.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
|
## Documentation
|
||||||
You can find full documentation [here](docs/index.md).
|
You can find full documentation [here](docs/index.md).
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
Fetch all sets:
|
|
||||||
```csharp
|
```csharp
|
||||||
var client = new ApiClient();
|
var client = new ApiClient();
|
||||||
// fetch all set information
|
// fetch all set information
|
||||||
|
@ -24,5 +29,5 @@ var vmaxClimaxCards = await Client.FetchCardsAsync(new CardQueryFilterBuilder {
|
||||||
var morpekoCards = await Client.FetchCardsAsync(new CardQueryFilterBuilder { Name = "morpeko" });
|
var morpekoCards = await Client.FetchCardsAsync(new CardQueryFilterBuilder { Name = "morpeko" });
|
||||||
|
|
||||||
// fetch all Charizard drawn by Arita
|
// fetch all Charizard drawn by Arita
|
||||||
var artiaCharizardCards = await Client.FetchCardsAsync(new CardQueryFilterBuilder { Name = "charizard", Artist = "mitsuhiro arita" });
|
var aritaCharizardCards = await Client.FetchCardsAsync(new CardQueryFilterBuilder { Name = "charizard", Artist = "mitsuhiro arita" });
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue