MOS Shifting Sands Soulmask Server के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286765899182093",
"domain": null,
"id": 11763503,
"ip": "115.130.241.189",
"port": 7701,
"query": 27011,
"project_id": null,
"color": 0,
"city": "Canberra",
"description": null,
"game": 2646460,
"owner": null,
"boosts": 1,
"last_offline": 1780949071,
"last_online": 1780975993,
"icon": null,
"name": "MOS Shifting Sands Soulmask Server",
"connect": "115.130.241.189:7701",
"request": "115.130.241.189:27011",
"map": "DLC_Level01_Main",
"gamemode": "00",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780932195,
"last_update": 1780975993,
"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": 517,
"language": "en",
"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/11763503");
$data = json_decode($json, true);
var_dump($data);