JSON for programs, websites and more

text
https://api.gamemonitoring.net/servers/10413222
json
{
  "response": {
    "fps": 70,
    "fps_avg": 72,
    "entities_count": 138918,
    "world_seed": 260508,
    "world_size": 4500,
    "steam_id": "90285483700903952",
    "domain": null,
    "id": 10413222,
    "ip": "61.120.129.194",
    "port": 28018,
    "query": 28019,
    "color": 0,
    "city": "Suzuka",
    "description": "Japanese only.Japan only.日本語のみ。日本のみ。Rust初心者さん大歓迎。他のプレイヤーへのこうげき、ルート、レイド、窃盗、迷惑こういきんし。配信ようで配信されてもOKな方だけ参加OK。管理者のともだちゆうせん。不定期でアイテム所有IDなど監視で独断でBAN。スタック100ばいのMODサーバーなので、ぶき、ぼうぐ、パーツは1つづつ分けて使って。チャットはローマ字を推奨。",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778217181,
    "last_online": 1779201021,
    "icon": null,
    "name": "[JP]NekoSeki PvE Streamer Server 2",
    "connect": "61.120.129.194:28018",
    "request": "61.120.129.194:28019",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2624",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "JP",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1759823826,
    "last_update": 1779201021,
    "banned": false,
    "wipe": 1778216487,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 1,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3523,
    "language": "ja",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Code examples

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