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

text
https://api.gamemonitoring.in/servers/9919275
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 9919275,
    "ip": null,
    "port": null,
    "query": null,
    "project_id": null,
    "color": 0,
    "city": null,
    "description": "[{\"id\":\"ls65alnbj\",\"type\":\"paragraph\",\"data\":{\"text\":\"No Rules Complete AnarchyServer strives to be authentic as possible, which  means there is custom map and various mods to make game tougher experience so i got to  say this server is balanced around veteran players and players trying to learn game \"}},{\"id\":\"cDN9SLrWM8\",\"type\":\"paragraph\",\"data\":{\"text\":\"We are small community and each member is having some kind of server where we play games so everyone is welcome, This is our discord  so if you have any questions feel free to join https://discord.com/invite/5ZgMfsNNbq\"}}]",
    "game": 108600,
    "owner": 129192,
    "boosts": 1,
    "last_offline": 1764986464,
    "last_online": 1764057011,
    "icon": null,
    "name": "Palworld Server",
    "connect": null,
    "request": null,
    "map": "Muldraugh, KY",
    "gamemode": "Project Zomboid",
    "version": null,
    "numplayers": 0,
    "maxplayers": 8,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1754005570,
    "last_update": 1764986464,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": 1,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 12814,
    "language": "de",
    "parked": true,
    "app": {
      "id": 71,
      "steam_id": 108600,
      "name": "Project Zomboid",
      "url": "project-zomboid"
    },
    "server_owner": {
      "username": "muda_fortventi",
      "avatar": "4b96f3b5-ae5f-4126-9cc2-3e13e3b77052.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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