Chapter 11

/supertypes [GET] API(v1)

nukokoi
nukokoi
2022.10.09に更新

/supertypes

全特殊タイプを取得

サンプルコード

  • ruby

ruby
require 'mtg_sdk'

supertypes = MTG::Supertype.all
  • python

python
from mtgsdk import Supertype

supertypes = Supertype.all()
  • bash

bash
curl "https://api.magicthegathering.io/v1/supertypes"

レスポンス

レスポンス
{  
  "supertypes":[  
    "Basic",
    "Legendary",
    "Ongoing",
    "Snow",
    "World"
  ]
}