RulingsApiJs

class RulingsApiJs(config: ScryfallConfig = ScryfallConfig())

JavaScript-friendly wrapper for RulingsApi.

Usage:

const api = new RulingsApiJs();
const rulings = await api.byCardId('card-uuid');

Constructors

Link copied to clipboard
constructor(config: ScryfallConfig = ScryfallConfig())

Functions

Link copied to clipboard

Returns rulings for a card with the given Arena ID.

Link copied to clipboard

Returns rulings for a card with the given Scryfall ID.

Link copied to clipboard

Returns rulings for a card with the given set code and collector number.

Link copied to clipboard

Returns rulings for a card with the given MTGO ID.

Link copied to clipboard

Returns rulings for a card with the given Multiverse ID.