JSON для программ, сайтов и прочего

text
https://api.gamemonitoring.ru/servers/5395622
json
{
  "response": {
    "fps": 56,
    "fps_avg": 56,
    "entities_count": 92264,
    "world_seed": 1337,
    "world_size": 3500,
    "steam_id": "90286582477590541",
    "domain": null,
    "id": 5395622,
    "ip": "88.198.131.67",
    "port": 20015,
    "query": 20017,
    "color": 0,
    "city": "Falkenstein",
    "description": "![EU RustChimera 5X|Solo/Duo/Trio|Mini|SHOP|KIT|Trade|Tp|Monthly](https://dl.scalbox.com/Rust/RustChimera/cover_base_server_1024x512.png)\nWIPE: every first Thursday of the month\r\n\r\n°Clan/Team limits: 3\r\n°BEDS: from 20 to 80 deployable beds\r\n°Turrets Limits: from 40 to 100\r\n°Wipe Raid Protection: 24-hour protection after wipe\r\n\r\n°Vote for the night skip (night duration 10 minutes)\r\n°5x craft times\r\n°Ability to enable or disable friendly fire between team members\r\n°5x gather rates on everything\r\n°Shop\r\n°RP: Earn RP to spend in the shop\r\n°Building materials have an increased stack\r\n°Increased the stack size\r\n°Increase backpack size - Backpacks\r\n°Improved and more frequent airdrop\r\n°Clan skin and SkinBox\r\n°Ability to change the color of your username\r\n°Kit\r\n\r\n°Pvp\r\n°Locks can be placed on vehicles\r\n°Enable disable the crosshair\r\n°Vehicles spawn around the map\r\n°Quick sorting in containers or for quick loot - Quick Sort\r\n°Improved loot\r\n°Recycler speed 5X\r\n°Faster and better AirDrops\r\n°Reduced the hacking time\r\n°Ability to change skins\r\n°Level up the base with one command\r\n°Repair all base with hammer\r\n°Improved the durability of items, such as weapons, etc...\r\n°Team members will automatically be authorized on their turrets, TC, doors, ecc..\r\n°Splitting the stack in the furnace\r\n°Increased the melting speed of materials\r\n°Game information panel\r\n°Own stash map marker, purple icon\r\n°Wipe scheduler\r\n°Foods doesn't burn\r\n°Active admins\r\n\r\n°Language: English / italiano\r\n--------------------\r\n\r\nRules:\r\n°No cheating/exploiting\r\nNo form of racism\r\n°Don't insult other players\r\n°Don't troll\r\n°No Stream sniping\r\n°Don't write, do, draw, post or talk about offensive things.\r\n\r\n°Type /info for the rest of the in-game rules",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780470420,
    "last_online": 1780582831,
    "icon": null,
    "name": "EU RustChimera 5X|Solo/Duo/Trio|Mini|SHOP|KIT|Trade|Tp|Monthly",
    "connect": "88.198.131.67:20015",
    "request": "88.198.131.67:20017",
    "map": "Custom Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 2,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1722428404,
    "last_update": 1780582831,
    "banned": false,
    "wipe": 1779379220,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1159,
    "language": "de",
    "parked": false,
    "app": {
      "id": 252490,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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