API für AP_RUST#2|КласЕка|Без доната
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 68426,
"world_seed": 1915723344,
"world_size": 3500,
"steam_id": "90286834862468127",
"domain": null,
"id": 11252113,
"ip": "90.188.15.157",
"port": 31015,
"query": null,
"project_id": null,
"color": 0,
"city": "Barnaul",
"description": "[{\"type\":\"image\",\"data\":{\"file\":{\"url\":\"https://ap-rust.ru/heder.jpg\"},\"caption\":\"AP_RUST#2 |КласЕка|Без доната\",\"withBorder\":false,\"stretched\":false,\"withBackground\":false}},{\"type\":\"paragraph\",\"data\":{\"text\":\"-Раст как есть \\n-Вайпы раз в месяц \\n-Никаких привелегий \\n-Донаты только на работу сервера и администрации\"}}]",
"game": 252490,
"owner": 147588,
"boosts": 1,
"last_offline": 1781086471,
"last_online": 1781260218,
"icon": null,
"name": "AP_RUST#2|КласЕка|Без доната",
"connect": "90.188.15.157:31015",
"request": null,
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 90,
"add_date": 1773255559,
"last_update": 1781260218,
"banned": false,
"wipe": 1780613956,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": true,
"position_game": 346,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "A1ex_pro",
"avatar": "61376574-be3e-49ef-8fbe-6628e1b544ea.webp"
},
"mods": [
{
"id": 926,
"name": "IQChat"
},
{
"id": 1929,
"name": "SoReport"
}
],
"disabled_modules": [
"chat"
]
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11252113");
$data = json_decode($json, true);
var_dump($data);