API для RAID SIMULATOR[Viking]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 112,
"fps_avg": 111,
"entities_count": 45180,
"world_seed": 1337,
"world_size": 3500,
"steam_id": "90286576271326232",
"domain": null,
"id": 754404,
"ip": "194.226.49.77",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Moscow",
"description": "![RAID SIMULATOR[Viking]](http://ipic.su/img/img7/fs/1-2.1596819258.jpg)\nСоздадим для вас незабываемый опыт рейда без строительства!\r\nМы работаем в тестовом режиме, заходите, тестируйте и оставляйте пожелания!\r\nEnjoy!\r\n\r\nОставить отзывы, предложения и просто пообщаться:\r\nVK: vk.com/rust_vikings\r\nDiscord: discord.gg/pzuhE6B",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780535664,
"last_online": 1780564829,
"icon": null,
"name": "RAID SIMULATOR[Viking]",
"connect": "194.226.49.77:28015",
"request": "194.226.49.77:28016",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1676380826,
"last_update": 1780564829,
"banned": false,
"wipe": 1780535889,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2183,
"language": "ru",
"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/754404");
$data = json_decode($json, true);
var_dump($data);