JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/759911
json
{
  "response": {
    "fps": 50,
    "fps_avg": 49,
    "entities_count": 83068,
    "world_seed": 1591258685,
    "world_size": 3750,
    "steam_id": 90286382610675740,
    "domain": null,
    "id": 759911,
    "ip": "90.188.4.171",
    "port": 20717,
    "query": 20714,
    "color": 0,
    "city": "Barnaul",
    "description": "![[PVE]  РАСТРЕАЛ [X2|РейдБазы]](https://i.imgur.com/s0mXTSz.jpg)\n> Нет рейдов                                      \r\n> Пвп на рт                                      \r\n> Защита от лутания                                     \r\n> Медленное гниение                                     \r\n> Стаки до 100 тысяч                                      \r\n> X2 добыча\r\n                                      \r\n> 4 стартовых набора                                      \r\n> Быстрые печки                                      \r\n> Рейдбазы                                                            \r\n> Авторемонт построек                                                                  \r\n> Телепорт, ремув и трейды                                      \r\n> Моментальный крафт",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780600403,
    "last_online": 1780576837,
    "icon": null,
    "name": "[PVE]  РАСТРЕАЛ [X2|РейдБазы]",
    "connect": "90.188.4.171:20717",
    "request": "90.188.4.171:20714",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1680784772,
    "last_update": 1780600403,
    "banned": false,
    "wipe": 1779266625,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 9576,
    "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/759911");
$data = json_decode($json, true);
var_dump($data);