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

text
https://api.gamemonitoring.in/servers/11511052
json
{
  "response": {
    "fps": 236,
    "fps_avg": 234,
    "entities_count": 46214,
    "world_seed": 31628006,
    "world_size": 3000,
    "steam_id": "90286309908812821",
    "domain": null,
    "id": 11511052,
    "ip": "51.91.164.81",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Roubaix",
    "description": "![[FR] Triggers-Rust | HeureDeRaid | PVP](https://i.imgur.com/nmbOBJn.png)\n######################################\r\n# TRIGGERS-RUST [FR] #\r\n# PVP 24/7 - VANILLA+ #\r\n######################################\r\n\r\n>> CYCLE DE WIPE <<\r\n- Map : toutes les 2 semaines\r\n- Complet : 1er jeudi du mois (BP wipe)\r\n\r\n>> RAID <<\r\n- Horaires : 21h00 -> 00h00\r\n\r\n>> REGLES TEAM <<\r\n- Team max : 4 joueurs\r\n- Alliance raid : 2 teams (8 max)\r\n- Door camp : INTERDIT\r\n- Roof camp : autorise\r\n\r\n>> INFOS <<\r\n- Serveur 100% francais\r\n- Map taille 3000\r\n- Plugins custom\r\n- Anti-cheat EAC actif\r\n- Staff reactif et present\r\n- Events reguliers\r\n- Loot vanilla equilibre\r\n\r\n>> DISCORD <<\r\nhttps://discord.gg/Fqq2nga2FP\r\n\r\n--------------------------------------\r\nSur Triggers-Rust, tu domines ou tu disparais.\r\n--------------------------------------",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780608210,
    "last_online": 1779979828,
    "icon": null,
    "name": "[FR] Triggers-Rust | HeureDeRaid | PVP",
    "connect": "51.91.164.81:28015",
    "request": "51.91.164.81:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779353837,
    "last_update": 1780608210,
    "banned": false,
    "wipe": 1778187122,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11343,
    "language": "fr",
    "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/11511052");
$data = json_decode($json, true);
var_dump($data);