byArenaId

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

Returns rulings for a card with the given Magic: The Gathering Arena ID. https://scryfall.com/docs/api/rulings/arena

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.