japanese-pokemon-cards-sdk-.../docs/JpnCardsPokemon.Sdk.Client.ApiClient.md

2.3 KiB

JpnCardsPokemon.Sdk

JpnCardsPokemon.Sdk.Client

ApiClient Class

A client to interact with the web api.

public class ApiClient

Inheritance System.Object 🡒 ApiClient

Constructors
ApiClient() Creates a new instance of the ApiClient.
ApiClient(HttpClient) Creates a new instance of the ApiClient.
ApiClient(SocketsHttpHandler) Creates a new instance of the ApiClient.
Methods
FetchCardsAsync(IQueryFilterBuilder) Fetches Card from a search query.
FetchCardsAsync(string) Fetches Card from a search query.
FetchSetById(int) Fetches a Set by its id.
FetchSetByUuid(int) Fetches a Set by its uuid.
FetchSetsAsync() Fetches all Set.