API для VEIN PVE ( winter is coming ) - Power Water failure in winter o
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90278513340203022",
"domain": null,
"id": 10545398,
"ip": "162.120.2.225",
"port": 9110,
"query": 9111,
"project_id": null,
"color": 0,
"city": "New York",
"description": null,
"game": 1857950,
"owner": null,
"boosts": 1,
"last_offline": 1774156928,
"last_online": 1780956091,
"icon": null,
"name": "VEIN PVE ( winter is coming ) - Power Water failure in winter o",
"connect": "162.120.2.225:9110",
"request": "162.120.2.225:9111",
"map": "Champlain Valley",
"gamemode": "VEIN",
"version": "0.022h15",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1762521510,
"last_update": 1780956091,
"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": 413,
"language": "en",
"parked": false,
"app": {
"id": 1530675,
"steam_id": 1857950,
"name": "VEIN",
"url": "vein"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10545398");
$data = json_decode($json, true);
var_dump($data);