/v1/symbology
Mana & cost symbols
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/mtg-api/v1/symbology" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mtg-api/v1/symbology", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mtg-api/v1/symbology");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/mtg-api/v1/symbology",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"count": 84,
"symbols": [
{
"colors": [],
"symbol": "{T}",
"english": "tap this permanent",
"mana_value": 0,
"represents_mana": false
},
{
"colors": [],
"symbol": "{Q}",
"english": "untap this permanent",
"mana_value": 0,
"represents_mana": false
},
{
"colors": [],
"symbol": "{E}",
"english": "an energy counter",
"mana_value": 0,
"represents_mana": false
},
{
"colors": [],
"symbol": "{P}",
"english": "modal budget pawprint",
"mana_value": 0,
"represents_mana": false
},
{
"colors": [],
"symbol": "{PW}",
"english": "planeswalker",
"mana_value": 0,
"represents_mana": false
},
{
"colors": [],
"symbol": "{CHAOS}",
"english": "chaos",
"mana_value": 0,
"represents_mana": false
},
{
"colors": [],
"symbol": "{A}",
"english": "an acorn counter",
"mana_value": 0,
"represents_mana": false
},
{
"colors": [],
"symbol": "{TK}",
"english": "a ticket counter",
"mana_value": 0,
"represents_mana": false
},
{
"colors": [],
"symbol": "{X}",
"english": "X generic mana",
"mana_value": 0,
"represents_mana": true
},
{
"colors": [],
"symbol": "{Y}",
"english": "Y generic mana",
"mana_value": 0,
"represents_mana": true
},
{
"colors": [],
"symbol": "{Z}",
"english": "Z generic mana",
"mana_value": 0,
"represents_mana": true
},
{
"colors": [],
"symbol": "{0}",
"english": "zero mana",
"mana_value": 0,
"represents_mana": true
},
{
"colors": [],
"symbol": "{½}",
"english": "one-half generic mana",
"mana_value": 0.5,
"represents_mana": true
},
{
"colors": [],
"symbol": "{1}",
"english": "one generic mana",
"mana_value": 1,
"represe
…