Kingdom of the Blood Smasher के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90284028314375196",
"domain": null,
"id": 11624280,
"ip": "173.0.159.92",
"port": 27175,
"query": 27176,
"project_id": null,
"color": 0,
"city": "Dallas",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1779916139,
"last_online": 1780731163,
"icon": null,
"name": "Kingdom of the Blood Smasher",
"connect": "173.0.159.92:27175",
"request": "173.0.159.92:27176",
"map": "VRisingWorld",
"gamemode": "25b7de22-b0b7-4fb3-a6b3-eb3f0a3e4076",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779916139,
"last_update": 1780731163,
"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": 3056,
"language": "en",
"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/11624280");
$data = json_decode($json, true);
var_dump($data);