Rust
API для Bestrust Solo/Duo 2x #2 | JUST FULLWIPED 15.04 04/15
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/1031882json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 251685,
"world_seed": 1337,
"world_size": 4799,
"steam_id": "90284409110448135",
"domain": null,
"id": 1031882,
"ip": "141.98.157.70",
"port": 32015,
"query": 32017,
"color": 0,
"city": "City of London",
"description": "\nWelcome to Bestrust Solo/Duo 2x #2!\nGet 3 free rust skins by using the BESTRUST code on https://splits.gg\n\nWipe Schedule:\n• Fullwipes Every Saturday at 11:45 CEST\n• Fullwipes Every Wednesday at 16:45 CEST\n- Last Wipe: 15.04 16:45 CEST Type: Full Wipe\n- Next Wipe: 18.04 11:45 CEST Type: Full Wipe\n\nFeatures:\n- 2x gathering & loot\n- Max Group Size: 2\n- Shared Blueprints\n- Balanced kits & commands\n- Great anti-cheat + Active non-playing admins",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776226912,
"score": null,
"last_online": 1776300009,
"icon": null,
"name": "Bestrust Solo/Duo 2x #2 | JUST FULLWIPED 15.04 04/15",
"connect": "141.98.157.70:32015",
"request": "141.98.157.70:32017",
"map": "Wiped 9 hours ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 343,
"maxplayers": 400,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 124,
"add_date": 1688488328,
"last_update": 1776300009,
"banned": false,
"wipe": 1776264254,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 35,
"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/1031882");
$data = json_decode($json, true);
var_dump($data);