JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11607251
json
{
  "response": {
    "modded": true,
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 74839,
    "world_seed": 1996830985,
    "world_size": 3750,
    "steam_id": "90286338393687051",
    "domain": null,
    "id": 11607251,
    "ip": "114.190.169.157",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Osaka",
    "description": "![JP KR SAKURA.JP 3X (QUAD [Shop|Kits|Discord|Build+|Loot+]](https://image.myrustserver.com/logo/enosis0565_6a15d3b66df46.png)\nOptimization Performance and High Tier Server\r\nSophisticated servers for best experience\r\nNonPlay Active Admin\r\nAll Region Welcome.\r\nCPU-R7 5700X3D\r\n\r\n===Wipe Schedule===\r\n★Map-SemibiWeekly  day of the month 10,20,30,three wipes.\r\n★BP-Monthly        30\r\n\r\n\r\n\r\n★TeamLimit 4\r\n★Gather Rate 3x (Sulfur 1.5x)\r\n★Advanced AntiCheat(NoLag)\r\n★Workbench in TC Area\r\n★Customized Combat & Raid Block\r\n★PvP & Raid Makers\r\n★Unlocked Lv.1 BPs\r\n★Fast Craft&Smelt\r\n★Customized Loot Table\r\n★Short Night(3Min)\r\n★Skinbox(Need Link Discord Account\r\n★Shop And Kits\r\n★No Pay2Win",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780559014,
    "last_online": 1780052425,
    "icon": null,
    "name": "JP KR SAKURA.JP 3X (QUAD [Shop|Kits|Discord|Build+|Loot+]",
    "connect": "114.190.169.157:28015",
    "request": "114.190.169.157:28016",
    "map": "Sakura Customized",
    "gamemode": "Softcore",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 120,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "JP",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779915500,
    "last_update": 1780559014,
    "banned": false,
    "wipe": 1779818431,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 12337,
    "language": "ja",
    "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/11607251");
$data = json_decode($json, true);
var_dump($data);