Rust
API для RUSTDEFT | Solo/Duo | Türkiye YeniOyuncu #Best #NoCliff 01.05
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/9971957json
{
"response": {
"fps": 33,
"fps_avg": 33,
"entities_count": 109057,
"world_seed": 1,
"world_size": 3500,
"steam_id": "90285396743757834",
"domain": null,
"id": 9971957,
"ip": "212.16.94.94",
"port": 45001,
"query": 45003,
"color": 0,
"city": "Istanbul",
"description": "\nWelcome to RustDeft.com\r\nJoin Us: discord.gg/rustdeft\r\n\r\n- Weekly Map Wipe - Monthly BP Wipe\r\n- Group Limit: 2\r\n- 50% Upkeep\r\n- Outpost and Bandit Merged\r\n- Multiple Languages (TR/EN/RU/ESP)\r\n- Optimized Map FPS+\r\n- Low Ping\r\n- Map Size: 3500\r\n- !help for more commands\r\n- No kits, no TP, no P2W\r\n\r\nAdmins don't play. Visit www.RustDeft.com for server rules.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778570538,
"score": 0,
"last_online": 1778175743,
"icon": null,
"name": "RUSTDEFT | Solo/Duo | Türkiye YeniOyuncu #Best #NoCliff 01.05",
"connect": "212.16.94.94:45001",
"request": "212.16.94.94:45003",
"map": "BarrenFPS+",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 515,
"bots": 0,
"secured": true,
"private": false,
"country": "TR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1754855369,
"last_update": 1778570538,
"banned": false,
"wipe": 1777650916,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6824,
"language": "tr",
"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/9971957");
$data = json_decode($json, true);
var_dump($data);