API для RustPoint | NA Biweekly
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 61786,
"world_seed": 489545958,
"world_size": 3850,
"steam_id": "90286604148707347",
"domain": null,
"id": 11261165,
"ip": "91.229.114.157",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Chicago",
"description": "\nRustPoint | NA Biweekly \r\n\r\nWipe Schedule: \r\n - Map: Biweekly \r\n - Blueprints: Monthly at force wipe \r\n\r\nRules: \r\n - No hacking and script \r\n - No recently banned accounts \r\n - No ban evading \r\n - No racism \r\n\r\n\r\n Join our Discord! https://discord.gg/HkPQyRxV7T",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780555468,
"last_online": 1780598431,
"icon": null,
"name": "RustPoint | NA Biweekly",
"connect": "91.229.114.157:28015",
"request": "91.229.114.157:28017",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555222,
"last_update": 1780598431,
"banned": false,
"wipe": 1780596508,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3605,
"language": "en",
"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/11261165");
$data = json_decode($json, true);
var_dump($data);