Powerstone 4(Drake)(D1) - (v560.3) के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286284518934558",
"domain": null,
"id": 11631269,
"ip": "66.148.51.243",
"port": 6111,
"query": 57411,
"color": 0,
"city": "Van Buren",
"description": null,
"game": 834910,
"owner": null,
"boosts": 1,
"last_offline": 1780548219,
"last_online": 1779918209,
"icon": null,
"name": "Powerstone 4(Drake)(D1) - (v560.3)",
"connect": "66.148.51.243:6111",
"request": "66.148.51.243:57411",
"map": "Ocean",
"gamemode": "TestGameMode_C",
"version": "560.3",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779916725,
"last_update": 1780548219,
"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": 1366,
"language": "en",
"parked": false,
"app": {
"id": 23488,
"steam_id": 834910,
"name": "ATLAS",
"url": "atlas"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11631269");
$data = json_decode($json, true);
var_dump($data);