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

text
https://api.gamemonitoring.in/servers/11018158
json
{
  "response": {
    "steam_id": "90284274925523982",
    "domain": null,
    "id": 11018158,
    "ip": "185.187.155.62",
    "port": 28075,
    "query": 28076,
    "color": 0,
    "city": "Dallas",
    "description": "![[PVEP] 10x WolfRangerNation [100x] [1000x][Wolf Ranger Nation]](https://media.discordapp.net/attachments/812848618851008523/812848783876161536/Rust.png)\nWolf Ranger Nation\r\n Active Fair-Playing Admins!\r\nDiscord: Discord.gg/VXpMXXH\r\nPlease Behave in a mature manner.\r\nTrolls, Asshats, and Toxic players are Not welcome and will be BANNED.\r\n\r\nServer Rules:\r\n1.) No Hacking, glitching, or exploiting.\r\n2.) Respect Staff.\r\n3.) English only in global chat.\r\n4.) No Slurs, racism, hate speech or toxicity.\r\n5.) No doxing.\r\n6.) Do not call out Hackers in Global Chat, report them with F7 Report and Discord.\r\n7.) No Griefing players bases.\r\nIf you Like our Server and What we do, please Reach out to WolfRanger.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774920724,
    "score": 0,
    "last_online": 1776849627,
    "icon": null,
    "name": "[PVEP] 10x WolfRangerNation [100x] [1000x][Wolf Ranger Nation]",
    "connect": "185.187.155.62:28075",
    "request": "185.187.155.62:28076",
    "map": "Procedural Map",
    "gamemode": "Rust",
    "version": "2621",
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1769944474,
    "last_update": 1776849627,
    "banned": false,
    "wipe": 1771962704,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4507,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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