V Rising
API для Le super serveur 2.0
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10584149json
{
"response": {
"steam_id": "90282914160527372",
"domain": null,
"id": 10584149,
"ip": "77.74.86.3",
"port": 9876,
"query": 9877,
"color": 0,
"city": "Horgen",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1774697547,
"score": 0,
"last_online": 1776822723,
"icon": null,
"name": "Le super serveur 2.0",
"connect": "77.74.86.3:9876",
"request": "77.74.86.3:9877",
"map": "VRisingWorld",
"gamemode": "dea7b87b-b1f7-4983-8178-1873c16a30f1",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": true,
"country": "CH",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1762849969,
"last_update": 1776822723,
"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": 1254,
"language": "de",
"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/10584149");
$data = json_decode($json, true);
var_dump($data);