Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10508284
json
{
  "response": {
    "fps": 227,
    "fps_avg": 216,
    "entities_count": 73185,
    "world_seed": 578369846,
    "world_size": 3500,
    "steam_id": "90286179877500948",
    "domain": null,
    "id": 10508284,
    "ip": "202.36.95.110",
    "port": 27898,
    "query": 27899,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "Welcome to the NL/EU Dutch Server Vanilla Plus with  low upkeep\r\nRules, be respectful to others\r\nno racist and sexist texts and images\r\nDo not hack or exploit bugs\r\nno mass raidng\r\nonly Dutch or English in public chat\r\ndont grief monuments and bases\r\nfor all rules view website\r\nParticipation automatically means agreement with the server rules See website",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780607015,
    "last_online": 1779753025,
    "icon": null,
    "name": "NL/EU Dutch Rust Server",
    "connect": "202.36.95.110:27898",
    "request": "202.36.95.110:27899",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1761421281,
    "last_update": 1780607015,
    "banned": false,
    "wipe": 1778177982,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10044,
    "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/10508284");
$data = json_decode($json, true);
var_dump($data);