Crate scryfall_sdk_rust

Source
Expand description

A simple SDK for Scryfall API

Exposes two clients for async and blocking communication with the API using reqwest as the underlying HTTP client.

Bindings for the following resources are implemented:

Modules§

client
Client implementation
resources
Scryfall API resources (root module)

Structs§

CardSymbolsResource
Binding for endpoint GET /symbology
ManaCostResource
Binding for endpoint GET /symbology/parse-mana?cost=x
Scryfall
Scryfall async client

Enums§

BulkDataResource
Endpoints for /bulk-data/* resource (single)
CardCatalogResource
Endpoints for /cards/* resource (catalogs)
CardCollectionResource
Endpoints for /cards/collection resource
CardPageResource
Endpoints for /cards/* resource (page)
CardResource
Endpoints for /cards/* resource (single card)
CardSetListResource
Endpoints for /sets resource (list)
CardSetResource
Endpoints for /sets/* resource (single)
CatalogResource
Endpoints for /catalog resource
RulingListResource
Endpoints for /cards/**/rulings resource

Traits§

HttpResource
Represents an HTTP resource (endpoint)