Unturned
API для BisectHosting 7667ce63
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/9038087json
{
"response": {
"steam_id": "85568392934736314",
"domain": null,
"id": 9038087,
"ip": "50.20.249.95",
"port": 9080,
"query": 9080,
"color": 0,
"city": "Dallas",
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1775882521,
"score": 0,
"last_online": 1776106279,
"icon": null,
"name": "BisectHosting 7667ce63",
"connect": "50.20.249.95:9080",
"request": "50.20.249.95:9080",
"map": "Russia",
"gamemode": null,
"version": "3.26.1.1",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1746958229,
"last_update": 1776106279,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 243,
"language": "en",
"parked": false,
"app": {
"id": 48,
"steam_id": 304930,
"name": "Unturned",
"url": "unturned"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/9038087");
$data = json_decode($json, true);
var_dump($data);