JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11305836
json
{
  "response": {
    "fps": 71,
    "fps_avg": 81,
    "entities_count": 94251,
    "world_seed": 50000,
    "world_size": 4096,
    "steam_id": "90286182782559232",
    "domain": null,
    "id": 11305836,
    "ip": "173.237.43.241",
    "port": 29755,
    "query": 29756,
    "color": 0,
    "city": "Dallas",
    "description": "Hello and welcome\r\nwipe schedule: \r\n* Wipes on the first Thursday of the month\r\nI\r\nInfo on server\r\n* 2x rates\r\n* Nights are 3 minutes \r\n* Max size for party: 3\r\n* Kits and purchasable teleporters \r\n* no decay \r\n* raid times (6-11pm) PST\r\n\r\nlist of mods will be in the discord but here is a couple \r\n* Raidable bases\r\n* Skill tree\r\n* Enchanting \r\n* Bosses",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780613611,
    "last_online": 1779738026,
    "icon": null,
    "name": "VEGETO'S 2X No decay 3man NOT P2W all plugins available",
    "connect": "173.237.43.241:29755",
    "request": "173.237.43.241:29756",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 125,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1774592903,
    "last_update": 1780613611,
    "banned": false,
    "wipe": 1778835022,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10535,
    "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/11305836");
$data = json_decode($json, true);
var_dump($data);