JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/1208120
json
{
  "response": {
    "fps": 108,
    "fps_avg": 108,
    "entities_count": 232335,
    "world_seed": 1337,
    "world_size": 4500,
    "steam_id": "90286739997455389",
    "domain": null,
    "id": 1208120,
    "ip": "88.198.130.83",
    "port": 28015,
    "query": 28016,
    "project_id": null,
    "color": 0,
    "city": "Falkenstein",
    "description": "![#CHILL | Monthly | Jungle only | 50% Upkeep](https://www.khonych.in/chillheader.png)\nMap wipes on force wipe. No VIP, no kits - everyone is treated equally!\r\n\r\n- Custom 100% jungle map\r\n- 50% upkeep for bases\r\n- Recyclers and Drones - added to fishing villages and barns\r\n- Car lifts - added to gas stations and supermarkets\r\n- Dynamic events - Convoy and Train Heist\r\n- QoL - sign artist and more...\r\n\r\nMost important: Keep it chill!\r\n\r\nJoin our discord: http://dsc.gg/chillrust",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780895062,
    "last_online": 1780921233,
    "icon": null,
    "name": "#CHILL | Monthly | Jungle only | 50% Upkeep",
    "connect": "88.198.130.83:28015",
    "request": "88.198.130.83:28016",
    "map": "dsc.gg/chillrust",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1691956008,
    "last_update": 1780921233,
    "banned": false,
    "wipe": 1780596920,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3042,
    "language": "de",
    "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/1208120");
$data = json_decode($json, true);
var_dump($data);