API для The Gate Daycare Facility
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1790989066,
"app": {
"id": 1611062,
"name": "Abiotic Factor",
"steam_id": 427410,
"url": "abiotic-factor"
},
"color": 0,
"connect": "82.72.2.85:7777",
"country": "NL",
"domain": null,
"game": 427410,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 17648689,
"ip": "82.72.2.85",
"language": "nl",
"last_update": 1794751515,
"map": null,
"maxplayers": 8,
"name": "The Gate Daycare Facility",
"numplayers": 0,
"official": null,
"points": 0,
"port": 7777,
"private": null,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27015,
"request": "82.72.2.85:27015",
"secured": false,
"status": false,
"steam_id": "90296264264679433",
"version": "1.0.0.6",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Тилбург",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794751515,
"last_online": 1794267316,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 2621,
"wipe_period": null,
"os": "w",
"region": -1,
"product": "AbioticFactor",
"gametype": "BUILDID:1050002,OWNINGID:90296264264679433,OWNINGNAME:The Gate Daycare Facility,SESSIONFLAGS:43,ShortCode_s:LBAHK,Locked_b:true",
"dedicated": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/17648689");
$data = json_decode($json, true);
var_dump($data);