Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/216619
json
{
  "response": {
    "fps": 222,
    "fps_avg": 219,
    "entities_count": 131235,
    "world_seed": 509087673,
    "world_size": 5000,
    "steam_id": "90286376869570583",
    "domain": null,
    "id": 216619,
    "ip": "91.218.66.70",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Bremen",
    "description": "![[EU] The Hive - Last Survivor](https://filespace.vrm.li/GamersRust.png)\nWelcome to [EU]THE HIVE - LAST SURVIVOR \r\nMonthly First Thursday Full Wipe only on Force\r\n\r\nYou accept on click Connect following Server Rules:\r\n\r\n-No Racism/Toxic Behaviour\r\n-Language: English, German allowed\r\n\r\nThe detailed description of the server rules can be found on our Discord server. Click Visit website to be directed to the Discord server.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780470420,
    "last_online": 1780555833,
    "icon": null,
    "name": "[EU] The Hive - Last Survivor",
    "connect": "91.218.66.70:28015",
    "request": "91.218.66.70:28016",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 300,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1582969560,
    "last_update": 1780555833,
    "banned": false,
    "wipe": 1778176207,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1816,
    "language": "de",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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