JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10978589
json
{
  "response": {
    "fps": 121,
    "fps_avg": 118,
    "entities_count": 77922,
    "world_seed": 1165752982,
    "world_size": 3500,
    "steam_id": 90284791855779870,
    "domain": null,
    "id": 10978589,
    "ip": "151.242.106.71",
    "port": 10010,
    "query": 9010,
    "color": 0,
    "city": "Amsterdam",
    "description": "![Nexis EU 10x - PVP | KITS | EVENTS](https://i.imgur.com/J5qyRqJ.png)\nNexis is the most competitive EU server.Perfectly modded to the community's liking all pluggins and mods added to the server are for the players and the pvp\r\n\r\nWeekly wipe:  Thursday@4pm\r\n\r\n10x gathering \r\nNo blueprints & instant craft\r\nClans, auth share / Roam tps\r\nBgrade, Furnace splitter, Auth door, Box sorter \r\n\r\njoin our discord by logging in https://discord.gg/5exFCpE8Yy",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776348825,
    "score": 0,
    "last_online": 1776891019,
    "icon": null,
    "name": "Nexis EU 10x - PVP | KITS | EVENTS",
    "connect": "151.242.106.71:10010",
    "request": "151.242.106.71:9010",
    "map": "Nexis Maps - Wiped 6d ago",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 2,
    "maxplayers": 125,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NL",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1769900984,
    "last_update": 1776891019,
    "banned": false,
    "wipe": 1776348743,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2334,
    "language": "nl",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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