JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/9474643
json
{
  "response": {
    "fps": 150,
    "fps_avg": 147,
    "entities_count": 58869,
    "world_seed": 1337,
    "world_size": 3500,
    "steam_id": "90286585963467778",
    "domain": null,
    "id": 9474643,
    "ip": "126.207.107.54",
    "port": 31888,
    "query": 31889,
    "color": 0,
    "city": "Minato",
    "description": "PVP繧オ繝シ繝舌・kuro縺ク繧医≧縺薙◎・√%縺ョ繧オ繝シ繝舌・縺ッ譎る俣縺檎┌縺・¢縺ゥrust繧偵@縺溘>譁ケ蜷代″縺九→諤昴>縺セ縺呻シ。P繝ッ繧、繝嶺ク€繝オ譛医・繝・・繝ッ繧、繝励・蜈ャ蠑上→蜷後§縺ィ諤昴>縺セ縺呻シ∝€倶ココ縺ョ諡轤ケ縺ク縺ョ繝ャ繧、繝峨・遖∵ュ「・√◎縺ョ莉」繧上j縺ォ繝ャ繧、繝€繝悶Ν繝吶・繧ケ縺後≠繧九・縺ァ縺昴■繧峨↓繝ャ繧、繝峨@縺ォ陦後▲縺ヲ縺上□縺輔>・√せ繧ソ繝・け謨ー縺悟「励∴縺ヲ縺・k縺ョ縺ァ邯ュ謖∬イサ縺ッ讌ス縺ォ縺ェ縺」縺ヲ縺セ縺呻シ・ +server.maxplayers 50 +server.seed 1234567 -logFile output.txt -autoupdate +server.queryport 31889 +rcon.port 31890 +rcon.password 0608 +rcon.web 1 +server.headerimage https://ul.h3z.jp/1rT1TVH2.png",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778920376,
    "last_online": 1780583442,
    "icon": null,
    "name": "kuro",
    "connect": "126.207.107.54:31888",
    "request": "126.207.107.54:31889",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "JP",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1748433168,
    "last_update": 1780583442,
    "banned": false,
    "wipe": 1778185074,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3332,
    "language": "ja",
    "parked": false,
    "app": {
      "id": 252490,
      "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/9474643");
$data = json_decode($json, true);
var_dump($data);