JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11502718
json
{
  "response": {
    "fps": 221,
    "fps_avg": 210,
    "entities_count": 41312,
    "world_seed": 1910359526,
    "world_size": 3000,
    "steam_id": "90286382741906453",
    "domain": null,
    "id": 11502718,
    "ip": "71.215.172.96",
    "port": 28301,
    "query": 28303,
    "color": 0,
    "city": "Cape Coral",
    "description": "![StonedFlorida420 PVE NoDecay](https://stonedflorida.com/images/7bc3e9bcb763e607.jpg)\nCome play on a pure PVE server ,   Several events await you! spooknick Convoy on the road  Airfield event on the beach  The helicopter crash  The Battle of the Street Gangs (Garage) And several others  The regulations are simple: No property theft No theft on a character  no deaths between characters  Contact Discord Page for Admin  Have fun !!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780565015,
    "last_online": 1780157426,
    "icon": null,
    "name": "StonedFlorida420 PVE NoDecay",
    "connect": "71.215.172.96:28301",
    "request": "71.215.172.96:28303",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779207214,
    "last_update": 1780565015,
    "banned": false,
    "wipe": 1780103058,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11585,
    "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/11502718");
$data = json_decode($json, true);
var_dump($data);