LG NETWORK [1.18 - 26.1] BOXPVP S2 - 50% SALE के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": null,
"domain": "lgnetwork.primehost.cc",
"id": 11750349,
"ip": "95.156.225.20",
"port": 3000,
"query": 3000,
"color": 0,
"city": "Hamburg",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1780519119,
"last_online": 1780553023,
"icon": null,
"name": "LG NETWORK [1.18 - 26.1] BOXPVP S2 - 50% SALE",
"connect": "lgnetwork.primehost.cc:3000",
"request": "95.156.225.20:3000",
"map": null,
"gamemode": "Survival",
"version": "1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2",
"numplayers": 7,
"maxplayers": 70,
"bots": 0,
"secured": null,
"private": null,
"country": "DE",
"status": true,
"votes": 0,
"points": 36,
"add_date": 1780519119,
"last_update": 1780553023,
"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": 867,
"language": "de",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11750349");
$data = json_decode($json, true);
var_dump($data);