Nekoha CDTH | Public के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286477078238211",
"domain": null,
"id": 11737635,
"ip": "124.121.148.26",
"port": 7785,
"query": 27023,
"color": 0,
"city": "Bangkok",
"description": null,
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1780562608,
"last_online": 1780419074,
"icon": null,
"name": "Nekoha CDTH | Public",
"connect": "124.121.148.26:7785",
"request": "124.121.148.26:27023",
"map": "KF-HotelZed",
"gamemode": "KF2 CDSG",
"version": "1150",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "TH",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780412423,
"last_update": 1780562608,
"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": 1271,
"language": "th",
"parked": false,
"app": {
"id": 51,
"steam_id": 232090,
"name": "Killing Floor 2",
"url": "killing-floor-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11737635");
$data = json_decode($json, true);
var_dump($data);