VEIN
[RU]MAGICK|PVP|SURVIVAL 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11252118json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11252118,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"WuH-B-dqHY\",\"type\":\"paragraph\",\"data\":{\"text\":\"RU сервер для PvP и выживания. Raid: 16:00–22:00, рестарт каждые 12 часов, VAC, стабильная работа.\"}}]",
"game": 1857950,
"owner": 178210,
"boosts": 1,
"last_offline": 1774504275,
"score": 5,
"last_online": 1773558611,
"icon": null,
"name": "[RU]MAGICK|PVP|SURVIVAL",
"connect": null,
"request": null,
"map": "Champlain Valley",
"gamemode": "VEIN",
"version": null,
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1773261400,
"last_update": 1774504275,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 869,
"language": "ru",
"parked": true,
"app": {
"id": 1530675,
"steam_id": 1857950,
"name": "VEIN",
"url": "vein"
},
"server_owner": {
"username": "dadya_tolya",
"avatar": "no.jpg",
"last_online": 1773558976
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11252118");
$data = json_decode($json, true);
var_dump($data);