JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10922470
json
{
  "response": {
    "steam_id": "90284719543549965",
    "domain": null,
    "id": 10922470,
    "ip": "51.222.245.97",
    "port": 60404,
    "query": 60406,
    "color": 0,
    "city": "Montreal",
    "description": "![Savage Island](https://www.google.com/search?sca_esv=63d30f16e610b967&udm=2&sxsrf=ANbL-n6beJxT3j1V65t04jFT8HApNesChQ:1773158918300&q=rust+wallpaper+1024+x+515&spell=1&sa=X&ved=2ahUKEwjpgtLb25WTAxUJEFkFHWXDCK8QBSgAegQIChAB&biw=1920&bih=911&dpr=1#sv=CAMSVhoyKhBlLXhQSEtRckhKRi1tcGtNMg54UEhLUXJISkYtbXBrTToONnA0NldWSVhJSldqUk0gBCocCgZtb3NhaWMSEGUteFBIS1FySEpGLW1wa00YADABGAcgyp7V5wgwAkoIEAIYAiACKAI)\n🔥 SAVAGE ISLAND 🔥 Vanilla Survival • Hardcore PvP • Raids Allowed • No Mercy • No Rules A true **vanilla Rust survival experience**. No game-breaking mods. No pay-to-win. Just pure survival. ━━━━━━━━━━━━━━━━━━━━━━ ⚔️ GAMEPLAY • Vanilla Rust gameplay • Hardcore PvP environment • Base raiding allowed • PvP & PvE like official servers • Build • Raid • Survive • Dominate the island ━━━━━━━━━━━━━━━━━━━━━━ 🗺 WIPE SCHEDULE • Map wipe **every month** • Blueprints wipe **only on major Rust updates** ━━━━━━━━━━━━━━━━━━━━━━ Only the strongest survive on **Savage Island**.",
    "game": 346110,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774652543,
    "score": 0,
    "last_online": 1776796824,
    "icon": null,
    "name": "FriendshipLand",
    "connect": "51.222.245.97:60404",
    "request": "51.222.245.97:60406",
    "map": "Ragnarok",
    "gamemode": "TestGameMode_C",
    "version": "358.24",
    "numplayers": 0,
    "maxplayers": 12,
    "bots": 0,
    "secured": true,
    "private": true,
    "country": "CA",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1768476952,
    "last_update": 1776796824,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 308,
    "language": "en",
    "parked": false,
    "app": {
      "id": 67,
      "steam_id": 346110,
      "name": "ARK: Survival Evolved",
      "url": "ark-survival-evolved"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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