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

text
https://api.gamemonitoring.in/servers/10412104
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 23236,
    "world_seed": 1337,
    "world_size": 1250,
    "steam_id": "90284717970450458",
    "domain": null,
    "id": 10412104,
    "ip": "54.37.128.210",
    "port": 28015,
    "query": 27017,
    "color": 0,
    "city": "Warsaw",
    "description": "![BluRift - EU OneGrid 2x | Solo/Duo/Trio | One Grid !](https://cdn3.mapstr.gg/b4eefbb9f66122bb1b70687144ed51b7.png)\n! VERY SMALL CUSTOM MAP ! \r\n\r\nTeam limit: 3 \r\n2x Farm, Loot, Recyclers, Furnaces \r\nx5 Faster decaying \r\nWIPES: MONDAY and FRIDAY 15:00 (UTC) \r\nBP WIPES: every Friday\r\n\r\nRules: No Cheating, No Racism, No Advertising, No allies",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776301310,
    "score": 0,
    "last_online": 1776818417,
    "icon": null,
    "name": "BluRift - EU OneGrid 2x | Solo/Duo/Trio | One Grid !",
    "connect": "54.37.128.210:28015",
    "request": "54.37.128.210:27017",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 6,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "PL",
    "status": true,
    "votes": 0,
    "points": 66,
    "add_date": 1759823702,
    "last_update": 1776818417,
    "banned": false,
    "wipe": 1776697197,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 779,
    "language": "pl",
    "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/10412104");
$data = json_decode($json, true);
var_dump($data);