API для Rusty Moose |US Small|
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 210,
"fps_avg": 205,
"entities_count": 92593,
"world_seed": 222782298,
"world_size": 4050,
"steam_id": "90286511711482892",
"domain": null,
"id": 11502187,
"ip": "51.222.244.224",
"port": 60424,
"query": 60426,
"color": 0,
"city": "Montreal",
"description": "Official Rusty Moose US Small Wipe Schedule Map: Monthly @ Force Wipe Blueprints: Monthly @ Force Wipe Join our Discord server for announcements and to get more involved with the community! https://moose.gg/vip https://discord.gg/moose Force wipes are always on the first Thursday of the month at 2pm EST / 19:00 London time.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779988968,
"last_online": 1780578643,
"icon": null,
"name": "Rusty Moose |US Small|",
"connect": "51.222.244.224:60424",
"request": "51.222.244.224:60426",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": false,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207193,
"last_update": 1780578643,
"banned": false,
"wipe": 1778289473,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4946,
"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/11502187");
$data = json_decode($json, true);
var_dump($data);