Bob's Operation Harsh Doorstop Server - BOTS - Grand Opening के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286549160865798",
"domain": null,
"id": 11730862,
"ip": "173.240.146.151",
"port": 9315,
"query": 9316,
"project_id": null,
"color": 0,
"city": "Chicago",
"description": null,
"game": 736590,
"owner": null,
"boosts": 1,
"last_offline": 1780390059,
"last_online": 1780836189,
"icon": null,
"name": "Bob's Operation Harsh Doorstop Server - BOTS - Grand Opening",
"connect": "173.240.146.151:9315",
"request": "173.240.146.151:9316",
"map": "Argonne",
"gamemode": "Advance and Secure",
"version": "89",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780390059,
"last_update": 1780836189,
"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": 29,
"language": "en",
"parked": false,
"app": {
"id": 52393,
"steam_id": 736590,
"name": "Operation: Harsh Doorstop",
"url": "operation-harsh-doorstop"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11730862");
$data = json_decode($json, true);
var_dump($data);