V Rising
API для TheBoysServer
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11365519json
{
"response": {
"steam_id": "90283947428645909",
"domain": null,
"id": 11365519,
"ip": "108.36.255.192",
"port": 9876,
"query": 9877,
"color": 0,
"city": "Philadelphia",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1774595193,
"score": 0,
"last_online": 1775785820,
"icon": null,
"name": "TheBoysServer",
"connect": "108.36.255.192:9876",
"request": "108.36.255.192:9877",
"map": "VRisingWorld",
"gamemode": "41cfe73d-d128-40e4-a341-212201b6b36e",
"version": "0.0.0.1",
"numplayers": 7,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 44,
"add_date": 1774595193,
"last_update": 1775785820,
"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": 43,
"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/11365519");
$data = json_decode($json, true);
var_dump($data);