Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10088818
json
{
  "response": {
    "steam_id": "85568392935121006",
    "domain": null,
    "id": 10088818,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": "Nuremberg",
    "description": "[{\"id\":\"71F41PumTL\",\"type\":\"header\",\"data\":{\"text\":\"DEUTSCH:\",\"level\":4}},{\"id\":\"ZxZoqSz1RI\",\"type\":\"paragraph\",\"data\":{\"text\":\"Öffentlicher Euro Truck Simulator 2 Server mit 16 Slots, optimiert für gemeinsame Fahrten. ProMods ist vorinstalliert, dazu kommen 14 zusätzliche Mods für mehr Vielfalt und realistischere Spielerlebnisse. Jeder ist willkommen – einfach beitreten und gemeinsam die Straßen Europas erkunden.\"}},{\"id\":\"ovHJkTkAQ8\",\"type\":\"header\",\"data\":{\"text\":\"ENGLISH:\",\"level\":4}},{\"id\":\"mgsvaTU6x-\",\"type\":\"paragraph\",\"data\":{\"text\":\"A public Euro Truck Simulator 2 community server with 16 slots, ready for everyone to join. ProMods is pre-installed along with 14 additional mods to enhance variety and realism. Whether you want relaxed drives or organized convoys, everyone is welcome — just join and explore Europe’s roads together.\"}}]",
    "game": 227300,
    "owner": 133476,
    "boosts": 1,
    "last_offline": 1772053295,
    "score": 0,
    "last_online": 1775988012,
    "icon": null,
    "name": "[DE] Nua ETS2 Server",
    "connect": null,
    "request": null,
    "map": "europe",
    "gamemode": "Infos auf ets2.ts3x.cc - No damage from Players - ProMods 1.57",
    "version": null,
    "numplayers": 0,
    "maxplayers": 16,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 90,
    "add_date": 1755473322,
    "last_update": 1775988012,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": true,
    "hide_query": false,
    "position_game": 28,
    "language": "de",
    "parked": false,
    "app": {
      "id": 1980,
      "steam_id": 227300,
      "name": "Euro Truck Simulator 2",
      "url": "euro-truck-simulator-2"
    },
    "server_owner": {
      "username": "Freak288",
      "avatar": "c72b609f-330b-4477-af90-ca77d2da7160.jpg",
      "last_online": 1759370017
    },
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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