Minecraft
API für ⇨ ʀɪᴄʜᴛɪᴍᴇ | 1.16.5-1.21.x ★ Лучший гриферский сервер!
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11252224json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11252224,
"ip": "77.42.49.25",
"port": 25881,
"query": 25881,
"color": 0,
"city": "Helsinki",
"description": null,
"game": 9000034,
"owner": 178777,
"boosts": 1,
"last_offline": 1776809549,
"score": 5,
"last_online": 1776391222,
"icon": null,
"name": "⇨ ʀɪᴄʜᴛɪᴍᴇ | 1.16.5-1.21.x ★ Лучший гриферский сервер!",
"connect": "77.42.49.25:25881",
"request": "77.42.49.25:25881",
"map": null,
"gamemode": null,
"version": "Paper 1.16.5",
"numplayers": 0,
"maxplayers": 250,
"bots": 0,
"secured": null,
"private": null,
"country": "FI",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1773433811,
"last_update": 1776809549,
"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": 5954,
"language": "fi",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": {
"username": "resetovegor03",
"avatar": "2dd3649d-162b-42a1-9b0a-417109c91657.jpg",
"last_online": 1774703099
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11252224");
$data = json_decode($json, true);
var_dump($data);