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

text
https://api.gamemonitoring.in/servers/11511366
json
{
  "response": {
    "fps": 10,
    "fps_avg": 10,
    "entities_count": 88240,
    "world_seed": 8731,
    "world_size": 4000,
    "steam_id": "90286318096535573",
    "domain": null,
    "id": 11511366,
    "ip": "5.62.127.195",
    "port": 10200,
    "query": 10201,
    "color": 0,
    "city": "Canary Wharf",
    "description": "![Relaxed Rust [Casual & Beginner Server]](https://i.postimg.cc/s2vJ997v/739de6e0-8360-493a-9718-dd6505dee24b-(1).png)\nWelcome to Relaxed Rust. A casual, on the smaller size server where both beginners and seasoned players are welcomed. \r\n The server is wiped monthly and restarts daily at 00:00 and 12:00 GMT+1. \r\n If you're enjoying your time here why not add us to your favrouites and join our Discord server linked below.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780611209,
    "last_online": 1780006227,
    "icon": null,
    "name": "Relaxed Rust [Casual & Beginner Server]",
    "connect": "5.62.127.195:10200",
    "request": "5.62.127.195:10201",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779353842,
    "last_update": 1780611209,
    "banned": false,
    "wipe": 1779640831,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11443,
    "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/11511366");
$data = json_decode($json, true);
var_dump($data);