Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/6150459
json
{
  "response": {
    "fps": 213,
    "fps_avg": 212,
    "entities_count": 107256,
    "world_seed": 1554169,
    "world_size": 4300,
    "steam_id": "90284811856156695",
    "domain": null,
    "id": 6150459,
    "ip": "74.217.200.24",
    "port": 26910,
    "query": 26913,
    "color": 0,
    "city": "Hong Kong",
    "description": "![Fading Horizon | Solo/Duo | Vanilla](https://www.dropbox.com/scl/fi/1hb48y4px850eyifx09du/Fading-Horizon-Banner.png?rlkey=skt8w1dyc8jxwxvl30ikys69q&dl=1)\nSolo/Duo only. Alliances or teaming with other groups is not allowed.\r\n-Map wipes on the first Thursday of the month. BP wipe only if forced.\r\n-Cheating, hacking, use of exploits, racism, homophobia, sexism, or other such behaviors will not be tolerated and will result in a ban.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776258113,
    "score": 0,
    "last_online": 1776877224,
    "icon": null,
    "name": "Fading Horizon | Solo/Duo | Vanilla",
    "connect": "74.217.200.24:26910",
    "request": "74.217.200.24:26913",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "HK",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1728012281,
    "last_update": 1776877224,
    "banned": false,
    "wipe": 1775153383,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3357,
    "language": "zh",
    "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/6150459");
$data = json_decode($json, true);
var_dump($data);