/types
全タイプを取得
サンプルコード
ruby
require 'mtg_sdk'
types = MTG::Type.all
python
from mtgsdk import Type
types = Type.all()
bash
curl "https://api.magicthegathering.io/v1/types"
レスポンス
レスポンス
{
"types":[
"Artifact",
"Conspiracy",
"Creature",
"Enchantment",
"Instant",
"Land",
"Phenomenon",
"Plane",
"Planeswalker",
"Scheme",
"Sorcery",
"Tribal",
"Vanguard"
]
}