Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11435342
json
{
  "response": {
    "fps": 147,
    "fps_avg": 147,
    "entities_count": 69784,
    "world_seed": 453832400,
    "world_size": 3500,
    "steam_id": "90285631922310158",
    "domain": null,
    "id": 11435342,
    "ip": "91.98.186.104",
    "port": 28080,
    "query": 28015,
    "color": 0,
    "city": "Falkenstein",
    "description": "![Hunt and Chill PVE Rust](https://imgur.com/OC4ocDU.jpg)\nHunt and Chill PVE\r\n\r\n• PVE experience on one of best maps selected with almost all Monuments\r\n• Some QoL plugins like TruePVE mod\r\n• Small Server and Low Upkeep\r\n• Rules in game chat\r\n• Update when is posibile\r\n• English",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778436781,
    "score": 0,
    "last_online": 1778541615,
    "icon": null,
    "name": "Hunt and Chill PVE Rust",
    "connect": "91.98.186.104:28080",
    "request": "91.98.186.104:28015",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 10,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 64,
    "add_date": 1774977186,
    "last_update": 1778541615,
    "banned": false,
    "wipe": 1778206217,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1088,
    "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/11435342");
$data = json_decode($json, true);
var_dump($data);