[Rust-X] #W НОВИЧКИ | КЛАССИКА X1 | WIPE 03.06 için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 48401,
"world_seed": 1337,
"world_size": 2500,
"steam_id": "90286548602376209",
"domain": null,
"id": 11502014,
"ip": "37.230.210.234",
"port": 20000,
"query": 20020,
"color": 0,
"city": "Moscow",
"description": "![[Rust-X] #W НОВИЧКИ | КЛАССИКА X1 | WIPE 28.05](https://s3.twcstorage.ru/d01ce3e2-3fef-4f7e-9927-22616407bf61/header.png)\n1- WIPE: Среда 12:00 MSK\r\n- На сервере нет модов\r\n- Стандартные стаки, крафт, рейты\r\n- Переработчики, маркетплейсы, НПЗ в мирных зонах",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779862406,
"last_online": 1780590635,
"icon": null,
"name": "[Rust-X] #W НОВИЧКИ | КЛАССИКА X1 | WIPE 03.06",
"connect": "37.230.210.234:20000",
"request": "37.230.210.234:20020",
"map": "Custom Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207187,
"last_update": 1780590635,
"banned": false,
"wipe": 1780476722,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4836,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11502014");
$data = json_decode($json, true);
var_dump($data);