/v1/categories
A game run categories
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/speedrun-api/v1/categories" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/speedrun-api/v1/categories", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/speedrun-api/v1/categories");
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/speedrun-api/v1/categories",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"game": "o1y9wo6q",
"count": 6,
"categories": [
{
"id": "zdnq4oqd",
"name": "Stage RTA",
"type": "per-level",
"rules": "# General Rules (updated 10/16/2023) The goal of Stage RTA is to collect all 7 stars within a given stage (the 6 named stars on the star select screen and the 100 coin star). Stage RTA generally follows the same rules as those listed under the main Game Rules with the addition of the following: - You must start your run from the star select menu on the relevant stage (e.g. starting from level rese",
"weblink": "https://www.speedrun.com/sm64/levels?h=Stage_RTA&x=zdnq4oqd"
},
{
"id": "wkpoo02r",
"name": "120 Star",
"type": "per-game",
"rules": "# 120 Star Rules Beat the game while collecting all 120 stars with the following restrictions: ## ## Gameplay Restrictions: - None",
"weblink": "https://www.speedrun.com/sm64?h=120_Star&x=wkpoo02r"
},
{
"id": "7dgrrxk4",
"name": "70 Star",
"type": "per-game",
"rules": "# 70 Star Rules Beat the game as quickly as possible with the following restrictions: ## Gameplay Restrictions: - All forms of [BLJ](https://ukikipedia.net/wiki/Backwards_Long_Jump) are banned - All forms of [MIPS clipping](https://ukikipedia.net/wiki/RTA_Guide/MIPS_Clip) are banned - Circumventing any castle door or star requirement via any other method is banned",
"weblink": "https://www.speedrun.com/sm64?h=70_Star&x=7dgrrxk4"
},
{
"id": "n2y55mko",
"name": "16 Star",
"type": "per-game",
"rules": "# 16 Star Rules Beat the game as quickly as possible with the following restrictions: ## Gameplay Restrictions: - All forms of [Side BLJ](https://ukikipedia.net/wiki/Backwards_Long_Jump#Side_BLJ) are banned - Any method to skip the 30 star door other than [MIPS Clip](https://ukikipedia.net/wiki/RTA_Guide/MIPS_Clip) is banned",
"weblink": "https://www.speedrun.com/sm64?h=16_Star&x=n2y55mko"
},
{
"id": "7kjpp4k3",
"name": "1 Star",
"type": "per-game",
"rules": "# 1 Star Rules Beat the game as quickly as possible with the following restrictions: ## Gameplay Restrictions: - DDD skip is banned",
"weblink": "https://www.speedrun.com/sm64?h=1_Star&x=7kjpp4k3"
},
{
"id": "xk9gg6d0",
"name": "0 Star",
"type": "per-game",
"rules": "# 0 Star Rules Beat the game as quickly as possible ## Gameplay Restrictions: - Cannot collect any stars",
"weblink": "https://www.speedrun.com/sm64?h=0_Star&x=xk9gg6d0"
…