JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10780595
json
{
  "response": {
    "fps": 161,
    "fps_avg": 159,
    "entities_count": 104514,
    "world_seed": 1482472913,
    "world_size": 4250,
    "steam_id": "90286583755436039",
    "domain": null,
    "id": 10780595,
    "ip": "185.207.214.209",
    "port": 35200,
    "query": 35210,
    "color": 0,
    "city": "Moscow",
    "description": "![EU RU|USSR Classic| Идеален для новичков](https://pic.survivalhost.org/images/2024/12/20/imagedc39927d99ba44e6.png)\nВайп еженедельный Пятница 18ч Мск  (weekly Vape Friday) \r\nФул Классика  (Full Classics) \r\nЛимит тимы 8 человек  (The team limit  8 people)\r\nМощнейшее железо и Античит+  (Anti-cheat+)\r\nСодержание шкафа уменьшено на 50%\r\nАдм. не вмешивается в игровой процесс!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780295648,
    "last_online": 1780587031,
    "icon": null,
    "name": "EU RU|USSR Classic| Идеален для новичков",
    "connect": "185.207.214.209:35200",
    "request": "185.207.214.209:35210",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1766872420,
    "last_update": 1780587031,
    "banned": false,
    "wipe": 1780066436,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3933,
    "language": "ru",
    "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/10780595");
$data = json_decode($json, true);
var_dump($data);