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

text
https://api.gamemonitoring.in/servers/213590
json
{
  "response": {
    "fps": 85,
    "fps_avg": 81,
    "entities_count": 105493,
    "world_seed": 1205,
    "world_size": 4300,
    "steam_id": "90285144919939102",
    "domain": null,
    "id": 213590,
    "ip": "95.188.71.57",
    "port": 28051,
    "query": 28053,
    "color": 0,
    "city": "Krasnoyarsk",
    "description": "![IRON CLASSIC RU/EU WIPE 13|04|26](http://pic.moscow.ovh/images/2019/03/07/efc757cf5ef3bbd8086b59937d5fe304.png)\nWelcome to the semi-classic IRONRUST CLASSIC server                                                                                     \r\n●no Donate!                                                              \r\n●Next global update 08.05.2026                                          \r\n●Our vkontakte group - https://vk.com/rust_iron                                            \r\n●Our discord channel - https://discord.gg/xDKjNbB",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777503804,
    "score": null,
    "last_online": 1777582221,
    "icon": null,
    "name": "IRON CLASSIC RU/EU WIPE 13|04|26",
    "connect": "95.188.71.57:28051",
    "request": "95.188.71.57:28053",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1582845186,
    "last_update": 1777582221,
    "banned": false,
    "wipe": 1776096495,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2600,
    "language": "ru",
    "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/213590");
$data = json_decode($json, true);
var_dump($data);