JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10488573
json
{
  "response": {
    "fps": 49,
    "fps_avg": 49,
    "entities_count": 264061,
    "world_seed": 978920741,
    "world_size": 4250,
    "steam_id": "90286584242946063",
    "domain": null,
    "id": 10488573,
    "ip": "152.232.231.170",
    "port": 28020,
    "query": 28022,
    "color": 0,
    "city": "Buffalo",
    "description": "![Abyss|US|PVE|NOOB FRIENDLY|NO KILL NO RAID](https://imgur.com/a/M3daJ1X)\nWelcome to Abyss | US | PVE | NOOB FRIENDLY | NO KILL NO RAID\r\n\r\n- We are a friendly server with active/helpful/mature staff and community.\r\n- Learn to play Rust and run monuments in a casual, fun environment.\r\n- Join our active Discord: https://discord.gg/abysspve\r\n- We are Vanilla (not modded).\r\n\r\nSERVER FEATURES\r\n- Monthly wipe (1st Thursday of the month)\r\n- Monthly BP Wipe\r\n- No killing/stealing/raiding (except during purge)\r\n- Minis spawn on roads\r\n- Unique server events hosted by players and staff\r\n- Admin shop (test gens, fun/decorative objects, costumes)\r\n- Crate timer reduced\r\n- Great server performance on dedicated hardware\r\n- Last 18 hours of wipe are purge/raid event with PvP enabled\r\n\r\nWe DO NOT TOLERATE:\r\n- Hate speech / Racism / Homophobia / Sexism\r\n- Trolling / Griefing / Toxic behavior\r\n- Use of exploits, scripts, cheats, or bots\r\n- Stealing from players (includes horses/sleepers/vehicles)\r\n- Raiding or damaging other players� bases\r\n- Killing players (except your own teammates if teamed)\r\n\r\nCheck Discord for full rules.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780340661,
    "last_online": 1780591828,
    "icon": null,
    "name": "Abyss|US|PVE|NOOB FRIENDLY|NO KILL NO RAID",
    "connect": "152.232.231.170:28020",
    "request": "152.232.231.170:28022",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 21,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 65,
    "add_date": 1761122062,
    "last_update": 1780591828,
    "banned": false,
    "wipe": 1778177639,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 765,
    "language": "en",
    "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/10488573");
$data = json_decode($json, true);
var_dump($data);