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

text
https://api.gamemonitoring.in/servers/11489751
json
{
  "response": {
    "steam_id": "90285152465360917",
    "domain": null,
    "id": 11489751,
    "ip": "178.104.155.235",
    "port": 7777,
    "query": 27015,
    "color": 2,
    "city": "Nuremberg",
    "description": null,
    "game": 1369670,
    "owner": 189915,
    "boosts": 4,
    "last_offline": 1776804357,
    "score": 0,
    "last_online": 1777589408,
    "icon": null,
    "name": "[EU-EN] Pitstop City | 24/7 | pitstopcity.com | discord.gg/hgMq7ap7un",
    "connect": "178.104.155.235:7777",
    "request": "178.104.155.235:27015",
    "map": null,
    "gamemode": "Unreal Test!",
    "version": "0.7.18+1",
    "numplayers": 0,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 1,
    "points": 244,
    "add_date": 1776803448,
    "last_update": 1777589408,
    "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": 1,
    "language": "en",
    "parked": false,
    "app": {
      "id": 1564980,
      "steam_id": 1369670,
      "name": "Motor Town: Behind The Wheel",
      "url": "motor-town-behind-the-wheel"
    },
    "server_owner": {
      "username": "martynas_martin",
      "avatar": "a0e806e2-a8a6-4167-9892-6d73797238f2.jpg",
      "last_online": 1776805101
    },
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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