Rust
API für Magic Rust #18 — Vanilla 2x | Baйп 08.04
Wir bieten eine breite Auswahl an Integrationsmethoden. Sie können eine davon verwenden oder Ihre eigene mit der JSON-API erstellen. Wenn Sie einen Vorschlag für eine neue Integrationsmethode haben, kontaktieren Sie uns bitte. Kontaktieren Sie uns
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/760787json
{
"response": {
"fps": 28,
"fps_avg": 34,
"entities_count": 201539,
"world_seed": 1112022,
"world_size": 4000,
"steam_id": "90284085482728466",
"domain": null,
"id": 760787,
"ip": "185.207.214.28",
"port": 10000,
"query": 10010,
"color": 0,
"city": "Moscow",
"description": "![MAGIC RUST #16 [ SOLO | MONDAY ] Wipe 13.01](https://content.magicrust.ru/images/server/server_banner.png)\nЛимит игроков в команде: 1\r\n\r\nХарактеристики серверов:\r\n• Рейты добычи ресурсов x2\r\n• Мгновенный крафт\r\n• Телепортация домой\r\n• Магические карты\r\n• Магический пропуск\r\n• Мини-магазин\r\n\r\nВайп карты: каждый понедельник в 14:00\r\nВайп рецептов: каждые две недели, начиная с первого вайпа",
"game": 252490,
"owner": 100256,
"boosts": 1,
"last_offline": 1773545564,
"score": null,
"last_online": 1775681409,
"icon": null,
"name": "Magic Rust #18 — Vanilla 2x | Baйп 08.04",
"connect": "185.207.214.28:10000",
"request": "185.207.214.28:10010",
"map": "ВАЙП ПРЯМО СЕЙЧА�",
"gamemode": "VANILLA 2X",
"version": "2623",
"numplayers": 579,
"maxplayers": 600,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 159,
"add_date": 1680785141,
"last_update": 1775681409,
"banned": false,
"wipe": 1775641982,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 23,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust",
"popular_maps_available": false
},
"server_owner": {
"username": "arturmagicow",
"avatar": "no.jpg",
"last_online": 1736968299
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/760787");
$data = json_decode($json, true);
var_dump($data);