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

text
https://api.gamemonitoring.in/servers/10685329
json
{
  "response": {
    "steam_id": "90284561088723998",
    "domain": null,
    "id": 10685329,
    "ip": "50.5.46.175",
    "port": 16261,
    "query": 16261,
    "color": 0,
    "city": "Cincinnati",
    "description": null,
    "game": 108600,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776369823,
    "score": 0,
    "last_online": 1776430247,
    "icon": null,
    "name": "!!! AAA+ Arcadia Rising Long Term RP/Survival/ | Realism | Long",
    "connect": "50.5.46.175:16261",
    "request": "50.5.46.175:16261",
    "map": "Riverside Fire Department;Bedfo",
    "gamemode": "Project Zomboid",
    "version": "41.78.19",
    "numplayers": 5,
    "maxplayers": 31,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 41,
    "add_date": 1764590504,
    "last_update": 1776430247,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3221,
    "language": "en",
    "parked": false,
    "app": {
      "id": 71,
      "steam_id": 108600,
      "name": "Project Zomboid",
      "url": "project-zomboid"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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