【PVE】SCUM優しいサーバー के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"build": 118271,
"extraFlags": 0,
"nameHeaderRaw": "f0df1c010003",
"statusFlags": 34,
"type": 1,
"unknownStatusFlags": 32,
"steam_id": null,
"domain": null,
"id": 11751992,
"ip": "178.212.33.38",
"port": 28602,
"query": 28602,
"color": 0,
"city": "Tokyo",
"description": null,
"game": 513710,
"owner": null,
"boosts": 1,
"last_offline": 1780519373,
"last_online": 1780580449,
"icon": null,
"name": "【PVE】SCUM優しいサーバー",
"connect": "178.212.33.38:28602",
"request": "178.212.33.38:28602",
"map": null,
"gamemode": "community-hosted",
"version": "1.3.0.1.118271",
"numplayers": 2,
"maxplayers": 10,
"bots": 0,
"secured": null,
"private": true,
"country": "JP",
"status": true,
"votes": 0,
"points": 43,
"add_date": 1780519373,
"last_update": 1780580449,
"banned": false,
"wipe": null,
"official": false,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 461,
"language": "ja",
"parked": false,
"app": {
"id": 11540,
"steam_id": 513710,
"name": "SCUM",
"url": "scum"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11751992");
$data = json_decode($json, true);
var_dump($data);