VEIN
API для HytaleWelten.de VEIN Server
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11138683json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11138683,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Berlin",
"description": null,
"game": 1857950,
"owner": 124805,
"boosts": 1,
"last_offline": 1771653659,
"score": 0,
"last_online": 1770779416,
"icon": null,
"name": "HytaleWelten.de VEIN Server",
"connect": null,
"request": null,
"map": "Champlain Valley",
"gamemode": "VEIN",
"version": null,
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1770462417,
"last_update": 1771653659,
"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": 1502,
"language": "de",
"parked": true,
"app": {
"id": 1530675,
"steam_id": 1857950,
"name": "VEIN",
"url": "vein"
},
"server_owner": {
"username": "Matthias_Brenzel",
"avatar": "dbcdb449-5597-44a4-8eab-de47f27a2f54.jpg",
"last_online": 1775231445
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11138683");
$data = json_decode($json, true);
var_dump($data);