Rust
API für AP_RUST#2|КласЕка|Без доната
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11252113json
{
"response": {
"fps": 59,
"fps_avg": 58,
"entities_count": 91558,
"world_seed": 369516497,
"world_size": 4000,
"steam_id": "90284349675479071",
"domain": null,
"id": 11252113,
"ip": "90.188.15.157",
"port": 31015,
"query": 31016,
"color": 0,
"city": "Barnaul",
"description": "\n-Раст как есть \r\n-Вайпы раз в месяц \r\n-Никаких привелегий \r\n-Донаты только на работу сервера и администрации",
"game": 252490,
"owner": 147588,
"boosts": 1,
"last_offline": 1776157318,
"score": 0,
"last_online": 1777099213,
"icon": null,
"name": "AP_RUST#2|КласЕка|Без доната",
"connect": "90.188.15.157:31015",
"request": "90.188.15.157:31016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 90,
"add_date": 1773255559,
"last_update": 1777099213,
"banned": false,
"wipe": 1775161002,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 319,
"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",
"last_online": 1777065895
},
"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);