Minecraft
API для | Coleras ▪ 1.16.5 - 1.21.11 ▪ coleras.com | ⤷ ʏᴇɴɪ ᴏʏᴜɴ ▪ 1.21.4 Survival Aktif!
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10462289json
{
"response": {
"steam_id": null,
"domain": "play.coleras.com",
"id": 10462289,
"ip": "109.236.48.245",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Bursa",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1775991145,
"score": 0,
"last_online": 1776108026,
"icon": null,
"name": "| Coleras ▪ 1.16.5 - 1.21.11 ▪ coleras.com | ⤷ ʏᴇɴɪ ᴏʏᴜɴ ▪ 1.21.4 Survival Aktif!",
"connect": "play.coleras.com:25565",
"request": "109.236.48.245:25565",
"map": null,
"gamemode": "FML",
"version": "Velocity 1.7.2-1.21.11",
"numplayers": 38,
"maxplayers": 500,
"bots": 0,
"secured": null,
"private": null,
"country": "TR",
"status": true,
"votes": 0,
"points": 33,
"add_date": 1760475344,
"last_update": 1776108026,
"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": 1319,
"language": "tr",
"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/10462289");
$data = json_decode($json, true);
var_dump($data);