V Rising
API для 台灣上班族遊戲聯盟 DC:dancome89
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11208227json
{
"response": {
"steam_id": "90284392661670929",
"domain": null,
"id": 11208227,
"ip": "114.35.232.151",
"port": 9876,
"query": 9877,
"color": 0,
"city": "Kaohsiung",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1776822748,
"score": 0,
"last_online": 1776784895,
"icon": null,
"name": "台灣上班族遊戲聯盟 DC:dancome89",
"connect": "114.35.232.151:9876",
"request": "114.35.232.151:9877",
"map": "VRisingWorld",
"gamemode": "7b80b63f-fc3f-4d0a-8824-2b268788ec26",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "TW",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1772700492,
"last_update": 1776822748,
"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": 3252,
"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/11208227");
$data = json_decode($json, true);
var_dump($data);