API для RustyBallz Noob Friendly USA/East PvE LowDecay
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 49,
"fps_avg": 48,
"entities_count": 160872,
"world_seed": 1696419466,
"world_size": 4500,
"steam_id": "90286263483499536",
"domain": null,
"id": 761108,
"ip": "74.208.242.248",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Washington",
"description": "\n*Welcome to RustyBallz East Coast USA Rust Server*\r\n\r\nThis is a friendly group, perfect for starting off and meeting others.\r\nWe build for 3.5 weeks (PvE), and then destroy until forced wipe (PvP).\r\nMap and BP wipes are monthly, and decay is reduced to 10%.\r\n\r\nPvP Week Starts: 05/30 Next Wipe: 06/04\r\nTo view the server rules, type /info at any time in game chat.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779842600,
"last_online": 1780581633,
"icon": null,
"name": "RustyBallz Noob Friendly USA/East PvE LowDecay",
"connect": "74.208.242.248:28015",
"request": "74.208.242.248:28016",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 1,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1680785290,
"last_update": 1780581633,
"banned": false,
"wipe": 1778188246,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1564,
"language": "en",
"parked": false,
"app": {
"id": 252490,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/761108");
$data = json_decode($json, true);
var_dump($data);