XiaBanLaiYiBa için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90285952774778911",
"domain": null,
"id": 11660400,
"ip": "45.125.45.73",
"port": 6395,
"query": 6472,
"color": 0,
"city": "Jinan",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780567467,
"last_online": 1780567997,
"icon": null,
"name": "XiaBanLaiYiBa",
"connect": "45.125.45.73:6395",
"request": "45.125.45.73:6472",
"map": "VRisingWorld",
"gamemode": "6b164b14-5cae-4f51-a85a-2dc91877a855",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": true,
"country": "CN",
"status": true,
"votes": 0,
"points": 0,
"add_date": 1780178458,
"last_update": 1780567997,
"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": 3948,
"language": "zh",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11660400");
$data = json_decode($json, true);
var_dump($data);