/v1/gamemodes
Game modes
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/overwatch-api/v1/gamemodes" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/overwatch-api/v1/gamemodes", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/overwatch-api/v1/gamemodes");
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/overwatch-api/v1/gamemodes",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"count": 14,
"gamemodes": [
{
"key": "assault",
"icon": "https://overfast-api.tekrop.fr/static/gamemodes/assault-icon.svg",
"name": "Assault",
"screenshot": "https://overfast-api.tekrop.fr/static/gamemodes/assault.avif",
"description": "Teams fight to capture or defend two successive points against the enemy team. It's an inactive Overwatch 1 gamemode, also called 2CP."
},
{
"key": "capture-the-flag",
"icon": "https://overfast-api.tekrop.fr/static/gamemodes/capture-the-flag-icon.svg",
"name": "Capture the Flag",
"screenshot": "https://overfast-api.tekrop.fr/static/gamemodes/capture-the-flag.avif",
"description": "Teams compete to capture the enemy team’s flag while defending their own."
},
{
"key": "clash",
"icon": "https://overfast-api.tekrop.fr/static/gamemodes/clash-icon.svg",
"name": "Clash",
"screenshot": "https://overfast-api.tekrop.fr/static/gamemodes/clash.avif",
"description": "Vie for dominance across a series of capture points with dynamic spawns and linear map routes, so you spend less time running back to the battle and more time in the heart of it."
},
{
"key": "control",
"icon": "https://overfast-api.tekrop.fr/static/gamemodes/control-icon.svg",
"name": "Control",
"screenshot": "https://overfast-api.tekrop.fr/static/gamemodes/control.avif",
"description": "Teams fight to hold a single objective. The first team to win two rounds wins the map."
},
{
"key": "deathmatch",
"icon": "https://overfast-api.tekrop.fr/static/gamemodes/deathmatch-icon.svg",
"name": "Deathmatch",
"screenshot": "https://overfast-api.tekrop.fr/static/gamemodes/deathmatch.avif",
"description": "Race to reach 20 points first by racking up kills in a free-for-all format."
},
{
"key": "elimination",
"icon": "https://overfast-api.tekrop.fr/static/gamemodes/elimination-icon.svg",
"name": "Elimination",
"screenshot": "https://overfast-api.tekrop.fr/static/gamemodes/elimination.avif",
"description": "Dispatch all enemies to win the round. Win three rounds to claim victory. Available with teams of one, three, or six."
},
{
"key": "escort",
"icon": "https://overfast-api.tekrop.fr/static/gamemodes/escort-icon.svg",
"name": "Escort",
"screenshot": "https://overfast-api.tekrop.fr/static/gamemodes/escort.avif",
"description": "One team escorts
…