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

text
https://api.gamemonitoring.in/servers/820695
json
{
  "response": {
    "steam_id": "90284652500998154",
    "domain": null,
    "id": 820695,
    "ip": "173.234.30.179",
    "port": 27025,
    "query": 27026,
    "color": 0,
    "city": "Dallas",
    "description": "",
    "game": 378860,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776600801,
    "score": null,
    "last_online": 1777233688,
    "icon": null,
    "name": "~Get your server @ EliteGameServers.net~",
    "connect": "173.234.30.179:27025",
    "request": "173.234.30.179:27026",
    "map": "Brands Hatch GP",
    "gamemode": "Project CARS 2",
    "version": "1.0.0.63",
    "numplayers": 0,
    "maxplayers": 24,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1684364037,
    "last_update": 1777233688,
    "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": 10,
    "language": "en",
    "parked": false,
    "app": {
      "id": 6693,
      "steam_id": 378860,
      "name": "Project CARS 2",
      "url": "project-cars-2"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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