Minecraft
API для ASIA NETWORK - 『1-18-1.21+』 ⛏ ɴᴇᴡ ʀᴇʟᴇᴀꜱᴇ ʀᴘɢ ꜱᴇʀᴠᴇʀ ⛏
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11106986json
{
"response": {
"steam_id": null,
"domain": "mc.asianet.fun",
"id": 11106986,
"ip": "51.79.163.213",
"port": 26808,
"query": 26808,
"color": 0,
"city": "Singapore",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1770037260,
"score": 0,
"last_online": 1776807044,
"icon": null,
"name": "ASIA NETWORK - 『1-18-1.21+』 ⛏ ɴᴇᴡ ʀᴇʟᴇᴀꜱᴇ ʀᴘɢ ꜱᴇʀᴠᴇʀ ⛏",
"connect": "mc.asianet.fun:26808",
"request": "51.79.163.213:26808",
"map": null,
"gamemode": "Survival",
"version": "Velocity 1.7.2-1.21.11",
"numplayers": 4,
"maxplayers": 200,
"bots": 0,
"secured": null,
"private": null,
"country": "SG",
"status": true,
"votes": 0,
"points": 31,
"add_date": 1770037260,
"last_update": 1776807044,
"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": 1680,
"language": "en",
"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.ru/servers/11106986");
$data = json_decode($json, true);
var_dump($data);