byCollectorId

suspend fun byCollectorId(code: String, number: String, format: String? = "json", pretty: Boolean? = false): ScryfallList<Ruling>

Returns a List of rulings for the card with the given set code and collector number. https://scryfall.com/docs/api/rulings/collector

Parameters

code
  • The three to five-letter set code.

number
  • The collector number.

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.