Minecraft
╭ PureVanilla SMP ╮ ╰ 🍂 ɴᴇᴡ: updated to v26.1! 🍂 ╯ के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/10957813json
{
"response": {
"steam_id": null,
"domain": "mp.purevanilla.co",
"id": 10957813,
"ip": "162.141.71.133",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Warsaw",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1777278242,
"score": 0,
"last_online": 1777658430,
"icon": null,
"name": "╭ PureVanilla SMP ╮ ╰ 🍂 ɴᴇᴡ: updated to v26.1! 🍂 ╯",
"connect": "mp.purevanilla.co:25565",
"request": "162.141.71.133:25565",
"map": null,
"gamemode": "FML",
"version": "BungeeCord 1.8.x-26.1.x",
"numplayers": 243,
"maxplayers": 500,
"bots": 0,
"secured": null,
"private": null,
"country": "PL",
"status": true,
"votes": 0,
"points": 50,
"add_date": 1768741863,
"last_update": 1777658430,
"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": 625,
"language": "pl",
"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/10957813");
$data = json_decode($json, true);
var_dump($data);