JSON for programs, websites and more

text
https://api.gamemonitoring.net/servers/2
json
{
  "response": {
    "steam_id": "85568392935964647",
    "domain": null,
    "id": 2,
    "ip": "152.233.60.1",
    "port": 27152,
    "query": 27152,
    "project_id": 2,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "[{\"id\":\"d3i2AaqGlb\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":true,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/56738667-d70b-4d33-aecc-43e1c8d782e3.png\"}}},{\"id\":\"hdK0B43qrW\",\"type\":\"embed\",\"data\":{\"service\":\"youtube\",\"source\":\"https://www.youtube.com/watch?v=QdBZY2fkU-0\",\"embed\":\"https://www.youtube.com/embed/QdBZY2fkU-0\",\"width\":580,\"height\":320,\"caption\":\"\"}},{\"id\":\"nzCooZoyCE\",\"type\":\"paragraph\",\"data\":{\"text\":\"123434111\"}}]",
    "game": 4465480,
    "owner": 32739,
    "boosts": 1,
    "last_offline": 1781617390,
    "last_online": 1781635217,
    "icon": null,
    "name": "GM.LINK TEST SERVER",
    "connect": "152.233.60.1:27152",
    "request": "152.233.60.1:27152",
    "map": "de_dust2",
    "gamemode": "Counter-Strike: Global Offensive",
    "version": "1.38.8.1",
    "numplayers": 0,
    "maxplayers": 5,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 1,
    "points": 91,
    "add_date": 1772895488,
    "last_update": 1781635217,
    "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": 44,
    "language": "en",
    "parked": false,
    "app": {
      "id": 1629104,
      "steam_id": 4465480,
      "name": "Counter-Strike: Global Offensive",
      "url": "counter-strike-global-offensive"
    },
    "server_owner": {
      "username": "rootoor",
      "avatar": "058e2bb2-a509-480d-9eab-73b8e170e48d.webp"
    },
    "mods": [
      {
        "id": 2191,
        "name": "Admin"
      }
    ],
    "disabled_modules": []
  }
}

Code examples

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