V Rising
API для Voodoo Vampires
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11166907json
{
"response": {
"steam_id": "90284340121469953",
"domain": null,
"id": 11166907,
"ip": "64.20.208.21",
"port": 24477,
"query": 24478,
"color": 0,
"city": "Salt Lake City",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1776133316,
"score": 0,
"last_online": 1776450633,
"icon": null,
"name": "Voodoo Vampires",
"connect": "64.20.208.21:24477",
"request": "64.20.208.21:24478",
"map": "VRisingWorld",
"gamemode": "1bca6a16-db68-4075-9363-49b592fffede",
"version": "0.0.0.1",
"numplayers": 6,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 44,
"add_date": 1772228643,
"last_update": 1776450633,
"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": 49,
"language": "en",
"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/11166907");
$data = json_decode($json, true);
var_dump($data);