V Rising
API для Matcha Cafe PvE
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10538852json
{
"response": {
"steam_id": "90277233792504856",
"domain": null,
"id": 10538852,
"ip": "51.79.97.54",
"port": 27845,
"query": 27846,
"color": 0,
"city": "Montreal",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1768642203,
"score": 0,
"last_online": 1777666250,
"icon": null,
"name": "Matcha Cafe PvE",
"connect": "51.79.97.54:27845",
"request": "51.79.97.54:27846",
"map": "VRisingWorld",
"gamemode": "39d20488-a050-466b-99db-f254ab1ebacd",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": true,
"country": "CA",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1762519957,
"last_update": 1777666250,
"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": 1120,
"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/10538852");
$data = json_decode($json, true);
var_dump($data);