Minecraft
API для ZА КУРИЦ! СКАЖЕМ НЕТ КАРТОШКЕ
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11488111json
{
"response": {
"steam_id": null,
"domain": "d16.aurorix.net",
"id": 11488111,
"ip": "185.176.94.88",
"port": 25665,
"query": 25665,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1775572411,
"score": 0,
"last_online": 1775825427,
"icon": null,
"name": "ZА КУРИЦ! СКАЖЕМ НЕТ КАРТОШКЕ",
"connect": "d16.aurorix.net:25665",
"request": "185.176.94.88:25665",
"map": null,
"gamemode": null,
"version": "Paper 1.16.5",
"numplayers": 2,
"maxplayers": 1488,
"bots": 0,
"secured": null,
"private": null,
"country": "DE",
"status": true,
"votes": 1,
"points": 31,
"add_date": 1775156362,
"last_update": 1775825427,
"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": 1423,
"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/11488111");
$data = json_decode($json, true);
var_dump($data);