V Rising
API для 草大B
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11365644json
{
"response": {
"steam_id": "90284534324499483",
"domain": null,
"id": 11365644,
"ip": "43.248.116.117",
"port": 14150,
"query": 14151,
"color": 0,
"city": "Zhenjiang",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1774595198,
"score": 0,
"last_online": 1776453665,
"icon": null,
"name": "草大B",
"connect": "43.248.116.117:14150",
"request": "43.248.116.117:14151",
"map": "VRisingWorld",
"gamemode": "a881a71a-647e-4777-968e-35dd9813bb40",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774595198,
"last_update": 1776453665,
"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": 2696,
"language": "zh",
"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/11365644");
$data = json_decode($json, true);
var_dump($data);