Rust
API для [EU] Don Rusty SOLO/DUO/TRIO [Raid hours]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7468707json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 118355,
"world_seed": 1099713234,
"world_size": 4500,
"steam_id": "90285647359621139",
"domain": null,
"id": 7468707,
"ip": "37.27.235.111",
"port": 28000,
"query": 28001,
"color": 0,
"city": "Helsinki",
"description": "![[EU] Don Rusty SOLO/DUO/TRIO [Raid hours]](https://i.imgur.com/icBnbl0.png)\nWelcome to Don Rusty!\r\nMap wipe: Montly.\r\nBP wipe: Never.\r\nDiscord server:\r\nhttps://discord.gg/MpRxAzhWDs\r\n\r\nRaids on schedule only:\r\n- Monday to Thursday: 5 PM - 10 PM CEST\r\n- Friday 5 PM to Sunday 10 PM CEST\r\n\r\nRules:\r\n- Respect raid times.\r\n- Max team size: 3\r\n- Keep religion and politics to yourself.\r\n- No cheating or exploiting bugs.\r\n- Be respectful to other players.\r\n- No VPNs or private profiles.\r\n- English, Swedish, Danish or Norwegian in chat only.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778313784,
"score": 0,
"last_online": 1778596223,
"icon": null,
"name": "[EU] Don Rusty SOLO/DUO/TRIO [Raid hours]",
"connect": "37.27.235.111:28000",
"request": "37.27.235.111:28001",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1739234853,
"last_update": 1778596223,
"banned": false,
"wipe": 1778313560,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3236,
"language": "fi",
"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/7468707");
$data = json_decode($json, true);
var_dump($data);