JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/3281825
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 3281825,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "We are a **spanish server** in which you can choose many game modes\nfrom **deathmatch, gun game, 1vs1, aim, surf, competitive, only awp, minigames, soccer, wingman, executes**.... all being in the same map without leaving. You can also use **weapon skins, knife, agents**... all **completely free**.\njoin our discord :) **discord.gg/62unwZa9MF**",
    "game": 730,
    "owner": 61302,
    "boosts": 1,
    "last_offline": 1758284167,
    "score": null,
    "last_online": 1755115223,
    "icon": null,
    "name": "[ESPAÑA] | DM+SKINS | discord.gg/62unwZa9MF",
    "connect": null,
    "request": null,
    "map": "de_mirage",
    "gamemode": "Counter-Strike 2",
    "version": null,
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "ES",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1709831705,
    "last_update": 1758284167,
    "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": 11995,
    "language": "es",
    "parked": true,
    "app": {
      "id": 2,
      "steam_id": 730,
      "name": "Counter-Strike 2",
      "url": "counter-strike-2"
    },
    "server_owner": {
      "username": "nilsao",
      "avatar": "de0f7d9f-bd28-4dc7-9d17-f63b8b1153fb.jpg",
      "last_online": 1714046068
    },
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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