Minecraft
API for SMP serwer minecraft 24/7 W razie problemow pisz dsc.gg/oskihi
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/11143561json
{
"response": {
"steam_id": null,
"domain": "mc.gramy.fun",
"id": 11143561,
"ip": "83.168.94.248",
"port": 50022,
"query": 50022,
"color": 0,
"city": "Warsaw",
"description": "[{\"id\":\"jOY40AkF4G\",\"type\":\"paragraph\",\"data\":{\"text\":\"polski serwer smp\\n\\nwięcej informacji na stronie www.gramy.fun\"}}]",
"game": 9000034,
"owner": 165857,
"boosts": 1,
"last_offline": 1775642490,
"score": 5,
"last_online": 1776079210,
"icon": null,
"name": "SMP serwer minecraft 24/7 W razie problemow pisz dsc.gg/oskihi",
"connect": "mc.gramy.fun:50022",
"request": "83.168.94.248:50022",
"map": null,
"gamemode": null,
"version": "gramy.fun 1.21.11",
"numplayers": 6,
"maxplayers": 80,
"bots": 0,
"secured": null,
"private": null,
"country": "PL",
"status": true,
"votes": 0,
"points": 92,
"add_date": 1772133459,
"last_update": 1776079210,
"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": 25,
"language": "pl",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": {
"username": "koks_koksowy",
"avatar": "6cfe84a3-21a1-4bfb-9ee7-e2c11dfa0f03.jpg",
"last_online": 1775218737
},
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11143561");
$data = json_decode($json, true);
var_dump($data);