V Rising
API для [US-E] Official #5001 Cooperative | 3 Month Reset
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8731480json
{
"response": {
"steam_id": "90284130515106816",
"domain": null,
"id": 8731480,
"ip": "172.240.32.52",
"port": 20096,
"query": 20097,
"color": 0,
"city": "Ashburn",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1774156928,
"score": 0,
"last_online": 1775767221,
"icon": null,
"name": "[US-E] Official #5001 Cooperative | 3 Month Reset",
"connect": "172.240.32.52:20096",
"request": "172.240.32.52:20097",
"map": "VRisingWorld",
"gamemode": "7466597e-12cd-4e65-9a84-a8e50583adfc",
"version": "0.0.0.1",
"numplayers": 16,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 58,
"add_date": 1745832538,
"last_update": 1775767221,
"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": 31,
"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/8731480");
$data = json_decode($json, true);
var_dump($data);