Unturned
API для AoC | Project OwL
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10807713json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10807713,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"kTUGeIyE3c\",\"type\":\"paragraph\",\"data\":{\"text\":\"Данный проект еще полноценно разрабатывается \"}}]",
"game": 304930,
"owner": 25133,
"boosts": 1,
"last_offline": 1770443456,
"score": 5,
"last_online": 1769569210,
"icon": "https://i.ibb.co/Kc7Jxd5d/b3d324e6-4727-4c93-bdc6-9e2482cc0fa1.png",
"name": "AoC | Project OwL",
"connect": null,
"request": null,
"map": "Russia AoC",
"gamemode": "Russia Mod | no commands",
"version": null,
"numplayers": 0,
"maxplayers": 48,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1766924009,
"last_update": 1770443456,
"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": 621,
"language": "ru",
"parked": true,
"app": {
"id": 48,
"steam_id": 304930,
"name": "Unturned",
"url": "unturned"
},
"server_owner": {
"username": "dedusboris",
"avatar": "1f4bfe96-79f5-497d-a09d-5274e5255c5c.png",
"last_online": 1775202102
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10807713");
$data = json_decode($json, true);
var_dump($data);