V Rising
API для PonayRising
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11166595json
{
"response": {
"steam_id": "90284023579873285",
"domain": null,
"id": 11166595,
"ip": "161.97.158.209",
"port": 32200,
"query": 32215,
"color": 0,
"city": "Lauterbourg",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1775425893,
"score": 0,
"last_online": 1775776822,
"icon": null,
"name": "PonayRising",
"connect": "161.97.158.209:32200",
"request": "161.97.158.209:32215",
"map": "VRisingWorld",
"gamemode": "dc354b34-f63f-4e16-9f62-253f9b98a4e1",
"version": "0.0.0.1",
"numplayers": 1,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "FR",
"status": true,
"votes": 0,
"points": 35,
"add_date": 1772228635,
"last_update": 1775776822,
"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": 109,
"language": "fr",
"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/11166595");
$data = json_decode($json, true);
var_dump($data);