API для Vampire Diary
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": 90286723223784460,
"domain": null,
"id": 10492933,
"ip": "213.239.207.167",
"port": 9875,
"query": 9877,
"project_id": null,
"color": 0,
"city": "Nuremberg",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1781241179,
"last_online": 1780852869,
"icon": null,
"name": "Vampire Diary",
"connect": "213.239.207.167:9875",
"request": "213.239.207.167:9877",
"map": "VRisingWorld",
"gamemode": "c1745ac4-9684-4acf-b934-1d7076f4efd7",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": true,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1761123405,
"last_update": 1781241179,
"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": 3891,
"language": "de",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10492933");
$data = json_decode($json, true);
var_dump($data);