JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/1915650
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 1915650,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "![$[EU/RU] Chernobyl Wipe 01.02](http://sklad-52.ru/izgoi.png)Classic server without modsWipe every first Thursday of the monthBlueprint NO Wipe!!!There are railways and trains on the map☢️☢️☢️☢️☢️☢️☢️☢️☢️☢️☢️☢️☢️☢️☢️☢️☢️Классический сервер без модовВайп ",
    "game": 252490,
    "owner": 52146,
    "boosts": 1,
    "last_offline": 1761066194,
    "score": 5,
    "last_online": 1759669219,
    "icon": null,
    "name": "[EU/RU] BlackHole для Новичков",
    "connect": null,
    "request": null,
    "map": "Procedural Map",
    "gamemode": "Rust",
    "version": null,
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1700734225,
    "last_update": 1761066194,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 7195,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "openx",
      "avatar": "0e76a0bf-a71b-4912-a902-d13bc8016688.jpg",
      "last_online": 1708646671
    },
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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