JSON for programs, websites and more

text
https://api.gamemonitoring.net/servers/7985974
json
{
  "response": {
    "steam_id": "90284243074464792",
    "domain": null,
    "id": 7985974,
    "ip": "46.223.176.37",
    "port": 7777,
    "query": 27015,
    "color": 0,
    "city": "Biberach an der Riss",
    "description": null,
    "game": 1369670,
    "owner": 117600,
    "boosts": 1,
    "last_offline": 1770849706,
    "score": 0,
    "last_online": 1776211816,
    "icon": null,
    "name": null,
    "connect": "46.223.176.37:7777",
    "request": "46.223.176.37:27015",
    "map": null,
    "gamemode": "Unreal Test!",
    "version": null,
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1741109834,
    "last_update": 1776211816,
    "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": 7,
    "language": "de",
    "parked": false,
    "app": {
      "id": 1564980,
      "steam_id": 1369670,
      "name": "Motor Town: Behind The Wheel",
      "url": "motor-town-behind-the-wheel"
    },
    "server_owner": {
      "username": "derMiepz",
      "avatar": "5e47cbbc-7ba4-4f8e-9814-566539e9a850.jpg",
      "last_online": 1753905856
    },
    "mods": [],
    "disabled_modules": []
  }
}

Code examples

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