Minecraft
API для ✦ RavenLand ✦ [1.20.2 - 1.21.11] Бесплатные кейсы!
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10734038json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10734038,
"ip": "88.198.34.183",
"port": 27500,
"query": 27500,
"color": 0,
"city": "Nuremberg",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1776353063,
"score": 0,
"last_online": 1776825684,
"icon": null,
"name": "✦ RavenLand ✦ [1.20.2 - 1.21.11] Бесплатные кейсы!",
"connect": "88.198.34.183:27500",
"request": "88.198.34.183:27500",
"map": null,
"gamemode": null,
"version": "Purpur 1.20.1",
"numplayers": 0,
"maxplayers": 27500,
"bots": 0,
"secured": null,
"private": null,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766241903,
"last_update": 1776825684,
"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": 3666,
"language": "de",
"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/10734038");
$data = json_decode($json, true);
var_dump($data);