Rust
API для [EU] The Rusty Rifle | Monthly
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/9846429json
{
"response": {
"fps": 101,
"fps_avg": 103,
"entities_count": 125521,
"world_seed": 1326921642,
"world_size": 4500,
"steam_id": "90285503236807692",
"domain": null,
"id": 9846429,
"ip": "2.57.130.179",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Navarcles",
"description": "Discord: discord.gg/mYpA24Rfzh \r\n \r\n-Monthly wipes \r\n-Blueprints do not wipe \r\n-No team limit \r\n-50 Upkeep",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778496184,
"score": 0,
"last_online": 1778617818,
"icon": null,
"name": "[EU] The Rusty Rifle | Monthly",
"connect": "2.57.130.179:28015",
"request": "2.57.130.179:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 5,
"maxplayers": 120,
"bots": 0,
"secured": true,
"private": false,
"country": "ES",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1753203043,
"last_update": 1778617818,
"banned": false,
"wipe": 1778177536,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1758,
"language": "es",
"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/9846429");
$data = json_decode($json, true);
var_dump($data);