byMtgoId

suspend fun byMtgoId(id: Int, format: String? = "json", pretty: Boolean? = false): ScryfallList<Ruling>

Returns rulings for a card with the given MTGO ID (also known as the Catalog ID). The ID can either be the card’s mtgo_id or its mtgo_foil_id. https://scryfall.com/docs/api/rulings/mtgo

Parameters

id
  • The MTGO ID.

format
  • The data format to return. This method only supports json.

pretty
  • If true, the returned JSON will be prettified. Avoid using for production code.