प्रोग्राम, वेबसाइट और अन्य के लिए JSON

text
https://api.gamemonitoring.in/servers/7819827
json
{
  "response": {
    "fps": 109,
    "fps_avg": 104,
    "entities_count": 85939,
    "world_seed": 1150233279,
    "world_size": 3500,
    "steam_id": "90284792434695184",
    "domain": null,
    "id": 7819827,
    "ip": "135.181.182.159",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Helsinki",
    "description": "![[FIN] Ruostetalvi | Farssi.net | 16.4](https://i.imgur.com/TylXLYu.jpeg)\nMax teamlimit: 8\r\n\r\nMap wipe joka torstai klo 16:00\r\nBlueprint wipe jokaisen kuukauden ensimmäinen torstai\r\nSäännöt: https://discord.farssi.net\r\n\r\n\r\nMap wipe every thursday at 16:00PM EET\r\nBlueprint wipe on the first thursday of the month\r\nRules: Dont hack, spam, advertise\r\nMore info: https://discord.farssi.net",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776823397,
    "score": 0,
    "last_online": 1776837619,
    "icon": null,
    "name": "[FIN] Ruostetalvi | Farssi.net | 16.4",
    "connect": "135.181.182.159:28015",
    "request": "135.181.182.159:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 420,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FI",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1740051030,
    "last_update": 1776837619,
    "banned": false,
    "wipe": 1776344204,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3036,
    "language": "fi",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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