Minecraft
SM.Minecraft:java server-Survival[SM.SMP] Fog Mode!Face the fear!Join Server Now ! के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11058575json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11058575,
"ip": "38.175.200.12",
"port": 23723,
"query": 23723,
"color": 0,
"city": "Tokyo",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1776840753,
"score": 0,
"last_online": 1776552725,
"icon": null,
"name": "SM.Minecraft:java server-Survival[SM.SMP] Fog Mode!Face the fear!Join Server Now !",
"connect": "38.175.200.12:23723",
"request": "38.175.200.12:23723",
"map": null,
"gamemode": null,
"version": "Paper 1.21.10",
"numplayers": 0,
"maxplayers": 1,
"bots": 0,
"secured": null,
"private": null,
"country": "JP",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1769956787,
"last_update": 1776840753,
"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": 5771,
"language": "ja",
"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/11058575");
$data = json_decode($json, true);
var_dump($data);