API для A Shockbyte x Discord Production Rust Server
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 256,
"fps_avg": 252,
"entities_count": 6093,
"world_seed": 50000,
"world_size": 1500,
"steam_id": "90286123788272662",
"domain": null,
"id": 11606413,
"ip": "202.36.95.176",
"port": 20859,
"query": 20860,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779915470,
"last_online": 1780606900,
"icon": null,
"name": "A Shockbyte x Discord Production Rust Server",
"connect": "202.36.95.176:20859",
"request": "202.36.95.176:20860",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 75,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779915470,
"last_update": 1780606900,
"banned": false,
"wipe": 1779553434,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 8160,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11606413");
$data = json_decode($json, true);
var_dump($data);