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

text
https://api.gamemonitoring.in/servers/2310928
json
{
  "response": {
    "fps": 72,
    "fps_avg": 71,
    "entities_count": 107823,
    "world_seed": 1659801896,
    "world_size": 4250,
    "steam_id": "90284797288056833",
    "domain": null,
    "id": 2310928,
    "ip": "109.228.171.11",
    "port": 28019,
    "query": 28018,
    "color": 0,
    "city": "Stockholm",
    "description": "![[EU] Northern-Gaming | VANILLA | NoBp wipe](https://i.ibb.co/VBtTmh7/logo.png)\nWelcome to Northern-Gaming community server!\r\n\r\n-No cheating or exploiting.\r\n-No racist words/signs used.\r\n-You will not be able to play if you have VAC/EAC in the last 365 days.\r\n-Active Admin's\r\n\r\nJoin discord https://discord.gg/yMyYn8Tf2C for more information.\r\nMonthly map wipe BP will not wipe.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776831796,
    "score": null,
    "last_online": 1776878420,
    "icon": null,
    "name": "[EU] Northern-Gaming | VANILLA | NoBp wipe",
    "connect": "109.228.171.11:28019",
    "request": "109.228.171.11:28018",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 4,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "SE",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1703673829,
    "last_update": 1776878420,
    "banned": false,
    "wipe": 1775153396,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2205,
    "language": "sv",
    "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/2310928");
$data = json_decode($json, true);
var_dump($data);