JSON for programs, websites and more

text
https://api.gamemonitoring.net/servers/8898042
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 8898042,
    "ip": "135.148.15.127",
    "port": 22081,
    "query": 22081,
    "color": 0,
    "city": "Hudson",
    "description": null,
    "game": 9000034,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780404297,
    "last_online": 1780587729,
    "icon": null,
    "name": "Hosted by Shockbyte\\nhttps\\:",
    "connect": "135.148.15.127:22081",
    "request": "135.148.15.127:22081",
    "map": null,
    "gamemode": null,
    "version": "1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.21.11",
    "numplayers": 0,
    "maxplayers": 16,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1746484851,
    "last_update": 1780587729,
    "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": 2973,
    "language": "en",
    "parked": false,
    "app": {
      "id": 169,
      "steam_id": 9000034,
      "name": "Minecraft",
      "url": "minecraft"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Code examples

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