API для Daughters of the Meadow
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1790971573,
"app": {
"id": 1569757,
"name": "Sons Of The Forest",
"steam_id": 1326470,
"url": "sons-of-the-forest"
},
"color": 0,
"connect": "84.105.153.170:8766",
"country": "NL",
"domain": null,
"game": 1326470,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 17639183,
"ip": "84.105.153.170",
"language": "nl",
"last_update": 1791466291,
"map": "Normal",
"maxplayers": 8,
"name": "Daughters of the Meadow",
"numplayers": 0,
"official": null,
"points": 0,
"port": 8766,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27016,
"request": "84.105.153.170:27016",
"secured": false,
"status": false,
"steam_id": "90293936120304646",
"version": "0.11.3.0.0",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Тилбург",
"description": null,
"disabled_modules": [],
"gamemode": "Sons Of the Forest",
"hidden": false,
"last_offline": 1791466291,
"last_online": 1791038170,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 2876,
"wipe_period": null,
"listentype": "d",
"environment": "w",
"a2s_protocol": 17,
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/17639183");
$data = json_decode($json, true);
var_dump($data);