V Rising
API для Zaika_Mazaika
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10226652json
{
"response": {
"steam_id": "90285206816745493",
"domain": null,
"id": 10226652,
"ip": "161.97.159.1",
"port": 30600,
"query": 30615,
"color": 0,
"city": "Lauterbourg",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1777224756,
"score": 0,
"last_online": 1777806630,
"icon": null,
"name": "Zaika_Mazaika",
"connect": "161.97.159.1:30600",
"request": "161.97.159.1:30615",
"map": "VRisingWorld",
"gamemode": "3edba240-e2c5-4a13-828d-4011c11d30f7",
"version": "0.0.0.1",
"numplayers": 3,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "FR",
"status": true,
"votes": 0,
"points": 46,
"add_date": 1756740925,
"last_update": 1777806630,
"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": 22,
"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/10226652");
$data = json_decode($json, true);
var_dump($data);