ヘルバ村 के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286089988748318",
"domain": null,
"id": 11575544,
"ip": "103.97.52.160",
"port": 28200,
"query": 28215,
"color": 0,
"city": "Shinagawa",
"description": null,
"game": 2646460,
"owner": null,
"boosts": 1,
"last_offline": 1779356794,
"last_online": 1779561030,
"icon": null,
"name": "ヘルバ村",
"connect": "103.97.52.160:28200",
"request": "103.97.52.160:28215",
"map": "Level01_Main",
"gamemode": "00",
"version": "1.0.0.0",
"numplayers": 4,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": true,
"votes": 0,
"points": 53,
"add_date": 1779356794,
"last_update": 1779561030,
"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": 32,
"language": "ja",
"parked": false,
"app": {
"id": 1625562,
"steam_id": 2646460,
"name": "Soulmask",
"url": "soulmask"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11575544");
$data = json_decode($json, true);
var_dump($data);