Rust
API für KETRAWARS CLASSIC X1 MAX5 [ VANILLA ] WIPE 20.01
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/508928json
{
"response": {
"steam_id": null,
"domain": null,
"id": 508928,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "![$KETRAWARS [VANILLA | NOLIM] MAP WIPE 30.12 gm.link/u39466](https://gspics.org/images/2023/12/22/05YPgy.md.png)\nconnect 116.202.247.205:20520\n\nДобро пожаловать на классический сервер\nВайп проходит каждую субботу в 13:00 МСК\nВайп чертежей: раз в две недели\n\nПромокод для новых участников - GAMEMONIT\n\nDISCORD https://discord.gg/kjGy3S8P74\nСайт https://ketrawars.gamestores.app/\n\nЖелаем вам приятной игры!",
"game": 252490,
"owner": 39466,
"boosts": 1,
"last_offline": 1750457067,
"score": null,
"last_online": 1706151636,
"icon": null,
"name": "KETRAWARS CLASSIC X1 MAX5 [ VANILLA ] WIPE 20.01",
"connect": null,
"request": null,
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": null,
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1640872324,
"last_update": 1750457067,
"banned": false,
"wipe": 1705744622,
"official": null,
"wipe_period": "weekly",
"next_wipe": 1706349422,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6425,
"language": "de",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "eclipsee",
"avatar": "90552af1-2eed-417f-b528-68f6dd812a22.jpg",
"last_online": 1778272698
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/508928");
$data = json_decode($json, true);
var_dump($data);