JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/484308
json
{
  "response": {
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 18522,
    "world_seed": 1337,
    "world_size": 1500,
    "steam_id": "90286518295343111",
    "domain": null,
    "id": 484308,
    "ip": "64.40.9.171",
    "port": 28041,
    "query": 28019,
    "color": 0,
    "city": "London",
    "description": "![RAGECREW ONE GRID 2X [Solo/Duo/Trio] Ultimate Experience WIPED ](https://ragecrew.net/toxic/ragecrewlogorustserver.png)\nWelcome to RageCrew Rust ONE GRID \r\n \r\nSOLO/DUO/TRIO ONLY \r\n2x FARM AND LOOT \r\nWIPES ON FRIDAY AND TUESDAY \r\nBLUEPRINT WIPE WEEKLY FRIDAY \r\nFREE FURNACE SPLITTER \r\nFASTER FURNACE SPEED \r\nSKIPNIGHT VOTE \r\nMONUMENTS \r\nALL KEYCARDS \r\nSMALL MAP \r\nFULL ACTION \r\nBIGGER STACKSIZE",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775690523,
    "last_online": 1780572626,
    "icon": null,
    "name": "RAGECREW ONE GRID 2X [Solo/Duo/Trio] Ultimate Experience WIPED",
    "connect": "64.40.9.171:28041",
    "request": "64.40.9.171:28019",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 6,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 65,
    "add_date": 1637459134,
    "last_update": 1780572626,
    "banned": false,
    "wipe": 1780408696,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 716,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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