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

text
https://api.gamemonitoring.in/servers/11638664
json
{
  "response": {
    "steam_id": "90286381582360579",
    "domain": null,
    "id": 11638664,
    "ip": "186.13.21.111",
    "port": 34597,
    "query": 27016,
    "project_id": null,
    "color": 0,
    "city": "Salta",
    "description": null,
    "game": 431600,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780854204,
    "last_online": 1780668071,
    "icon": null,
    "name": "Sim Racing Alliance",
    "connect": "186.13.21.111:34597",
    "request": "186.13.21.111:27016",
    "map": "Interlagos 2017 GP",
    "gamemode": "Automobilista: CVNOA TC DEL NOA",
    "version": "1",
    "numplayers": 0,
    "maxplayers": 38,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "AR",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779917356,
    "last_update": 1780854204,
    "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": 15,
    "language": "es",
    "parked": false,
    "app": {
      "id": 166,
      "steam_id": 431600,
      "name": "Automobilista",
      "url": "automobilista"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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