麒麟一服萌新休闲PVE के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286498843416591",
"domain": null,
"id": 11660438,
"ip": "114.227.110.54",
"port": 28011,
"query": 28012,
"color": 0,
"city": "Nanjing",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780178461,
"last_online": 1780602052,
"icon": null,
"name": "麒麟一服萌新休闲PVE",
"connect": "114.227.110.54:28011",
"request": "114.227.110.54:28012",
"map": "VRisingWorld",
"gamemode": "ac2d08e2-c2bd-4f5d-85f3-5d259fd0ed33",
"version": "0.0.0.1",
"numplayers": 4,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 37,
"add_date": 1780178461,
"last_update": 1780602052,
"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": 183,
"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.in/servers/11660438");
$data = json_decode($json, true);
var_dump($data);