API для jammsen-docker-generated-16988
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1791145624,
"app": {
"id": 1569757,
"name": "Sons Of The Forest",
"steam_id": 1326470,
"url": "sons-of-the-forest"
},
"color": 0,
"connect": "206.172.64.106:8766",
"country": "CA",
"domain": null,
"game": 1326470,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 17746326,
"ip": "206.172.64.106",
"language": "en",
"last_update": 1791466255,
"map": "Normal",
"maxplayers": 8,
"name": "jammsen-docker-generated-16988",
"numplayers": 0,
"official": null,
"points": 30,
"port": 8766,
"private": null,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27016,
"request": "206.172.64.106:27016",
"secured": false,
"status": true,
"steam_id": "90294090129473558",
"version": "0.11.3.0.0",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Val-des-Monts",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": null,
"last_online": 1791466255,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 1868,
"wipe_period": null,
"os": "w",
"region": -1,
"product": "Sons Of the Forest",
"gametype": "V:SdhTQU1VtrKNP/b0xlZcH2YGgfI=,G:d3f0aff5-f3b4-4c9c-b183-e74c49d57864,Sk,",
"dedicated": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/17746326");
$data = json_decode($json, true);
var_dump($data);