Minecraft
API für ᴀꜱᴛʀᴏᴍᴄ | [1.20 - 1.21.8] ꜱüʀüᴋʟᴇʏᴄɪ ꜱᴋʏʙʟᴏᴄᴋ ᴅᴇɴᴇʏɪᴍɪ | /ʜᴇᴅɪʏᴇ
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11156253json
{
"response": {
"steam_id": null,
"domain": "oyna.astromc.com.tr",
"id": 11156253,
"ip": "45.94.169.208",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Istanbul",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1776190356,
"score": 0,
"last_online": 1776823293,
"icon": null,
"name": "ᴀꜱᴛʀᴏᴍᴄ | [1.20 - 1.21.8] ꜱüʀüᴋʟᴇʏᴄɪ ꜱᴋʏʙʟᴏᴄᴋ ᴅᴇɴᴇʏɪᴍɪ | /ʜᴇᴅɪʏᴇ",
"connect": "oyna.astromc.com.tr:25565",
"request": "45.94.169.208:25565",
"map": null,
"gamemode": "FML",
"version": "BungeeCord 1.8.x-1.21.x",
"numplayers": 0,
"maxplayers": 3000,
"bots": 0,
"secured": null,
"private": null,
"country": "TR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1772227996,
"last_update": 1776823293,
"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": 4868,
"language": "tr",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11156253");
$data = json_decode($json, true);
var_dump($data);