JSON for programs, websites and more

text
https://api.gamemonitoring.net/servers/11016102
json
{
  "response": {
    "steam_id": "90285087153474575",
    "domain": null,
    "id": 11016102,
    "ip": "43.138.162.74",
    "port": 30010,
    "query": 40010,
    "color": 0,
    "city": "Guangzhou",
    "description": null,
    "game": 2520410,
    "owner": null,
    "boosts": 1,
    "last_offline": 1769943361,
    "score": 0,
    "last_online": 1777521111,
    "icon": null,
    "name": "「神蛋遗产服」Divine egg",
    "connect": "43.138.162.74:30010",
    "request": "43.138.162.74:40010",
    "map": null,
    "gamemode": "Dragons Legacy",
    "version": "1.0.0.0",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CN",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1769943361,
    "last_update": 1777521111,
    "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": 13,
    "language": "zh",
    "parked": false,
    "app": {
      "id": 1629092,
      "steam_id": 2520410,
      "name": "Dragons Legacy",
      "url": "dragons-legacy"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Code examples

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