Minecraft
API for InMine.ru #5 | 1.16-1.21
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/11156642json
{
"response": {
"steam_id": null,
"domain": "ingo.su",
"id": 11156642,
"ip": "91.192.93.74",
"port": 19136,
"query": 19136,
"color": 0,
"city": "Veliky Novgorod",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1774747370,
"score": 0,
"last_online": 1776110426,
"icon": null,
"name": "InMine.ru #5 | 1.16-1.21",
"connect": "ingo.su:19136",
"request": "91.192.93.74:19136",
"map": "InCore",
"gamemode": "Survival",
"version": "2.0",
"numplayers": 15,
"maxplayers": 150,
"bots": 0,
"secured": null,
"private": null,
"country": "RU",
"status": true,
"votes": 0,
"points": 34,
"add_date": 1772228035,
"last_update": 1776110426,
"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": 1102,
"language": "ru",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11156642");
$data = json_decode($json, true);
var_dump($data);