API для big toe's Server
JSON для программ, сайтов и прочего
text
json
{
"response": {
"dedicated": false,
"gametype": "lis,Beta:0.9.38,MP_Strategy,US,21,2,v",
"os": "w",
"product": "Silica",
"region": -1,
"steam_id": "90289169103037440",
"domain": null,
"id": 12365292,
"ip": "98.116.203.243",
"port": 26901,
"query": 26900,
"project_id": null,
"color": 0,
"city": "Bellmore",
"description": null,
"game": 1494420,
"owner": null,
"boosts": 1,
"last_offline": 1785164804,
"last_online": 1784355195,
"icon": null,
"name": "big toe's Server",
"connect": "98.116.203.243:26901",
"request": "98.116.203.243:26900",
"map": "Citadel",
"gamemode": null,
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 12,
"bots": 0,
"secured": true,
"private": null,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1784353396,
"last_update": 1785164804,
"ban_reason": null,
"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": 270,
"language": "en",
"parked": false,
"app": {
"id": 1611691,
"steam_id": 1494420,
"name": "Silica",
"url": "silica"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/12365292");
$data = json_decode($json, true);
var_dump($data);