byCardId

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

Returns a List of rulings for a card with the given Scryfall ID. https://scryfall.com/docs/api/rulings/id

Parameters

id
  • The Scryfall 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.