Minecraft
API для CRAFTNESIA Slimefun │ Crossplay│ 1.16 - Latest
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10658512json
{
"response": {
"steam_id": null,
"domain": "play.craftnesia.my.id",
"id": 10658512,
"ip": "185.207.166.200",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Singapore",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1774235552,
"score": 0,
"last_online": 1776094843,
"icon": null,
"name": "CRAFTNESIA Slimefun │ Crossplay│ 1.16 - Latest",
"connect": "play.craftnesia.my.id:25565",
"request": "185.207.166.200:25565",
"map": null,
"gamemode": null,
"version": "Velocity 1.7.2-26.1.2",
"numplayers": 19,
"maxplayers": 1945,
"bots": 0,
"secured": null,
"private": null,
"country": "SG",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1764543647,
"last_update": 1776094843,
"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": 3784,
"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/10658512");
$data = json_decode($json, true);
var_dump($data);