API для [CN]Hosted by budingserver
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286351062064146",
"domain": null,
"id": 11660388,
"ip": "202.189.12.176",
"port": 18260,
"query": 18270,
"project_id": null,
"color": 0,
"city": "Jinan",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780774418,
"last_online": 1780224655,
"icon": null,
"name": "[CN]Hosted by budingserver",
"connect": "202.189.12.176:18260",
"request": "202.189.12.176:18270",
"map": "VRisingWorld",
"gamemode": "4435d5cb-3a49-4342-9861-4f9025a08c97",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780178458,
"last_update": 1780774418,
"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": 4317,
"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/11660388");
$data = json_decode($json, true);
var_dump($data);