JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/10711164
json
{
  "response": {
    "steam_id": 90284363847659550,
    "domain": null,
    "id": 10711164,
    "ip": "149.88.101.147",
    "port": 7777,
    "query": 27017,
    "color": 0,
    "city": "Sydney",
    "description": null,
    "game": 1088090,
    "owner": null,
    "boosts": 1,
    "last_offline": 1772230298,
    "score": 0,
    "last_online": 1776203429,
    "icon": null,
    "name": "AU Wings of Ruin RP (2x Growth)",
    "connect": "149.88.101.147:7777",
    "request": "149.88.101.147:27017",
    "map": null,
    "gamemode": "Day of Dragons",
    "version": "1.0.0.0",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "AU",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1765126384,
    "last_update": 1776203429,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 47,
    "language": "en",
    "parked": false,
    "app": {
      "id": 45862,
      "steam_id": 1088090,
      "name": "Day of Dragons",
      "url": "day-of-dragons"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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