V Rising
API для [FR][PVE] Serveur Maudit [Brutal]
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/9523254json
{
"response": {
"steam_id": "90284119463136267",
"domain": null,
"id": 9523254,
"ip": "37.187.143.152",
"port": 25565,
"query": 25566,
"color": 0,
"city": "Roubaix",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1773462730,
"score": 0,
"last_online": 1775776822,
"icon": null,
"name": "[FR][PVE] Serveur Maudit [Brutal]",
"connect": "37.187.143.152:25565",
"request": "37.187.143.152:25566",
"map": "VRisingWorld",
"gamemode": "c009aa2f-2e5c-48c0-a356-0f61b7045368",
"version": "0.0.0.1",
"numplayers": 2,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 35,
"add_date": 1750536989,
"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": 103,
"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/9523254");
$data = json_decode($json, true);
var_dump($data);