API für Crispy Rust
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 90,
"fps_avg": 87,
"entities_count": 110670,
"world_seed": 682253342,
"world_size": 4250,
"steam_id": "90286608576797697",
"domain": null,
"id": 11159241,
"ip": "185.189.255.34",
"port": 35400,
"query": 35410,
"color": 0,
"city": "Moscow",
"description": "\nНаш игровой сервер:\r\nCRISPY RUST [ X2 | NOLIMIT | SKILLS | TOP | EVENTS ]\r\nconnect 185.189.255.34:35400\r\n\r\nРестарт в 07:00 по МСК и 00:00 по МСК\r\n\r\nВайп в пятницу (12:00 по МСК)",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780603462,
"last_online": 1780622434,
"icon": null,
"name": "Crispy Rust",
"connect": "185.189.255.34:35400",
"request": "185.189.255.34:35410",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2627",
"numplayers": 2,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772228124,
"last_update": 1780622434,
"banned": false,
"wipe": 1780599385,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2433,
"language": "ru",
"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/11159241");
$data = json_decode($json, true);
var_dump($data);