Soulmask
API для AussieSuriveNChillShiftSands
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10767980json
{
"response": {
"steam_id": "90284224411045896",
"domain": null,
"id": 10767980,
"ip": "144.6.23.129",
"port": 7794,
"query": 27015,
"color": 0,
"city": "Adelaide",
"description": null,
"game": 2646460,
"owner": null,
"boosts": 1,
"last_offline": 1775779877,
"score": 0,
"last_online": 1776019264,
"icon": null,
"name": "AussieSuriveNChillShiftSands",
"connect": "144.6.23.129:7794",
"request": "144.6.23.129:27015",
"map": "DLC_Level01_Main",
"gamemode": "00",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766262430,
"last_update": 1776019264,
"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": 859,
"language": "en",
"parked": false,
"app": {
"id": 1625562,
"steam_id": 2646460,
"name": "Soulmask",
"url": "soulmask"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10767980");
$data = json_decode($json, true);
var_dump($data);