API für CSRust.gg | Counter Strike | Ranked | Arena | AimTrain

JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10740917
json
{
  "response": {
    "fps": 233,
    "fps_avg": 224,
    "entities_count": 2709,
    "world_seed": 1337,
    "world_size": 2000,
    "steam_id": "90284983467319296",
    "domain": null,
    "id": 10740917,
    "ip": "51.222.255.62",
    "port": 28014,
    "query": 28015,
    "color": 0,
    "city": "Montreal",
    "description": "![CSRust.gg | Counter Strike | Ranked | Arena | AimTrain](https://51.222.255.62/images/CSR_serverheader.jpg)\nCounter Strike meets Rust. 5v5 competitive matches with buy menu, bomb defusal, ranked matchmaking, aim training, and arenas. All skill levels welcome.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774591322,
    "score": 0,
    "last_online": 1778184021,
    "icon": null,
    "name": "CSRust.gg | Counter Strike | Ranked | Arena | AimTrain",
    "connect": "51.222.255.62:28014",
    "request": "51.222.255.62:28015",
    "map": "Dust2|Mirage|Inferno",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 250,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CA",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1766250766,
    "last_update": 1778184021,
    "banned": false,
    "wipe": 1777190565,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3647,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10740917");
$data = json_decode($json, true);
var_dump($data);