Rust
API для RustLands | Monthly Large | No BP Wipe | NOOB FRIENDLY 3/5 3.5
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/3620265json
{
"response": {
"fps": 48,
"fps_avg": 48,
"entities_count": 142814,
"world_seed": 1337,
"world_size": 5000,
"steam_id": "90285178236253184",
"domain": null,
"id": 3620265,
"ip": "45.45.239.173",
"port": 28013,
"query": 28015,
"color": 0,
"city": "Chicago",
"description": "\nWipe: First thursday of the month (2:00 PM EST)\r\nBlueprints never wipe.\r\n\r\nMap Size: 5000 \r\n(Maps hand-chosen & optimized for the best PVP experience)\r\n\r\nMany Quality of Life changes including (but not limited to)\r\n - Player optimizations \r\n - Combind outpost & bandit\r\n - Increased Limits (on team UI, bag limit, map marker etc)\r\n - High quality hardware\r\n\r\nServer Rules:\r\n - Don't cheat, script or use 3rd party software (unless allowed by FP)\r\n - Don't evade any EAC (within 180d) or RustLands placed bans\r\n - Don't abuse any glitches or bugs, please report them\r\n - Don't be a dick. No racism, homophobia or antisemitism.\r\n\r\nAdmins reserve the right to Ban\\/kick for anything not listed here\r\nFurther rules displayed in our Discord\r\n\r\nJoin our Discord! rustlands.net\\/invite\r\nWanting to support the server? store.rustlands.net",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775151732,
"score": null,
"last_online": 1777579814,
"icon": null,
"name": "RustLands | Monthly Large | No BP Wipe | NOOB FRIENDLY 3/5 3.5",
"connect": "45.45.239.173:28013",
"request": "45.45.239.173:28015",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 175,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 91,
"add_date": 1711617419,
"last_update": 1777579814,
"banned": false,
"wipe": 1777571294,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 348,
"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/3620265");
$data = json_decode($json, true);
var_dump($data);