The Midnight Isle (Noobz Friendly/Safezones) के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286628935917591",
"domain": null,
"id": 11756658,
"ip": "85.190.159.171",
"port": 11500,
"query": 30738,
"project_id": null,
"color": 0,
"city": "Miami",
"description": null,
"game": 376210,
"owner": 198486,
"boosts": 1,
"last_offline": 1780548278,
"last_online": 1780684229,
"icon": null,
"name": "The Midnight Isle (Noobz Friendly/Safezones)",
"connect": "85.190.159.171:11500",
"request": "85.190.159.171:30738",
"map": "Thenyaw Island",
"gamemode": "Survival",
"version": "0.1.8.1",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 3,
"points": 63,
"add_date": 1780547681,
"last_update": 1780684229,
"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": 24,
"language": "en",
"parked": false,
"app": {
"id": 136,
"steam_id": 376210,
"name": "The Isle",
"url": "the-isle"
},
"server_owner": {
"username": "midnight_owner",
"avatar": "96034ac7-87f6-4efd-ac98-e01ac50a1473.webp"
},
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11756658");
$data = json_decode($json, true);
var_dump($data);