VEIN
API для Li Automoblie Right Defender Crew
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11171580json
{
"response": {
"steam_id": "90284724237557766",
"domain": null,
"id": 11171580,
"ip": "223.109.143.112",
"port": 12345,
"query": 12346,
"color": 0,
"city": "Nanjing",
"description": null,
"game": 1857950,
"owner": null,
"boosts": 1,
"last_offline": 1776339824,
"score": 0,
"last_online": 1776805869,
"icon": null,
"name": "Li Automoblie Right Defender Crew",
"connect": "223.109.143.112:12345",
"request": "223.109.143.112:12346",
"map": "Champlain Valley",
"gamemode": "VEIN",
"version": "0.022h18",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": false,
"private": true,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1772229072,
"last_update": 1776805869,
"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": 782,
"language": "zh",
"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/11171580");
$data = json_decode($json, true);
var_dump($data);