Rust
API для 3x DESTINY OF WANTED | CZ/SK/EU | PVE | QUESTS | SKILLS | EVENT
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10869962json
{
"response": {
"fps": 85,
"fps_avg": 85,
"entities_count": 131103,
"world_seed": 1469078,
"world_size": 4250,
"steam_id": "90284794103031831",
"domain": null,
"id": 10869962,
"ip": "185.180.2.35",
"port": 28962,
"query": 27962,
"color": 0,
"city": "Prague",
"description": "\n**PvP Enabled:** \r\n- Players can fight each other, if they want defend their event loot.\r\n- Raiding player bases is not allowed.\r\n- Players do not lose stuff upon death.\r\n\r\n---\r\n\r\n### **Custom Features**\r\n\r\n1. **Quests:** Take on 30 unique quests for rewards and fun. \r\n2. **Raidable Bases:** Challenge yourself with 5 difficulty levels of NPC-guarded bases. \r\n3. **Convoy Events:** Attack moving vehicle convoys for valuable loot. \r\n4. **Boss Monsters:** Face off against 10 powerful bosses, many tied to quests. \r\n5. **Armored Trains:** Participate in thrilling events to raid armored trains.\r\n6. **Skill tree:** Gain XP for a variety of activities. Levels will give you access to different perks.\r\n\r\n---\r\n\r\n### **Server Rules** \r\n1. Respect others – no swearing, insults, or discrimination but actually we don't care. \r\n2. **No raiding player bases**; PvP combat is allowed. \r\n3. Report bugs instead of exploiting them. \r\n4. Play fair – no disruptive gameplay or spawn-killing.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775154731,
"score": 0,
"last_online": 1776873019,
"icon": null,
"name": "3x DESTINY OF WANTED | CZ/SK/EU | PVE | QUESTS | SKILLS | EVENT",
"connect": "185.180.2.35:28962",
"request": "185.180.2.35:27962",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 2,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "CZ",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1768318378,
"last_update": 1776873019,
"banned": false,
"wipe": 1775154770,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1292,
"language": "cs",
"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/10869962");
$data = json_decode($json, true);
var_dump($data);