JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10870701
json
{
  "response": {
    "fps": 139,
    "fps_avg": 133,
    "entities_count": 44912,
    "world_seed": 1087212383,
    "world_size": 3000,
    "steam_id": "90285124503984144",
    "domain": null,
    "id": 10870701,
    "ip": "95.217.195.101",
    "port": 28066,
    "query": 28067,
    "color": 0,
    "city": "Helsinki",
    "description": "![[NO/EU] Norwegian Vanilla x2 | No BP Wipe](https://www.dropbox.com/scl/fi/bbtujbxjcn1q3ariugcps/513.png?rlkey=rcmb0oa1t7m15ywtp22w605po&st=0n4p9thu&dl=1)\nWelcome to Norwegian Vanilla \r\n\r\nA clean and balanced x2 Vanilla+ server focused on fair gameplay and long-term progression.\r\n Norwegian server – English players welcome\r\n\r\n SERVER INFO\r\n• Gather Rate: x2\r\n• No BP Wipe\r\n• Full Map Wipe: Every Wednesday 16:00 CET\r\n• Vanilla+ (no game-breaking mods)\r\n• Active & non-playing admins\r\n• No pay-to-win\r\n• Mini spawn on roads\r\n\r\n WHAT TO EXPECT\r\n• Balanced progression – not too easy, not too grindy\r\n• Fair PvP environment\r\n• Stable performance\r\n• Friendly but competitive community\r\n\r\n RULES\r\n• No cheating or exploiting\r\n• No racism or extreme toxicity\r\n• Respect other players\r\n\r\nBuild your base. Progress over time. Enjoy Rust the way it should be.\r\n\r\nJoin us and grow with the server.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776958998,
    "score": 0,
    "last_online": 1777672818,
    "icon": null,
    "name": "[NO/EU] Norwegian Vanilla x2 | No BP Wipe",
    "connect": "95.217.195.101:28066",
    "request": "95.217.195.101:28067",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 7,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FI",
    "status": true,
    "votes": 0,
    "points": 63,
    "add_date": 1768318456,
    "last_update": 1777672818,
    "banned": false,
    "wipe": 1777471085,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1469,
    "language": "fi",
    "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/10870701");
$data = json_decode($json, true);
var_dump($data);