Minecraft
API для PixelFox.pl [1.21.X] Serwer w trakcie przerwy technicznej.
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11488532json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11488532,
"ip": "57.128.211.130",
"port": 25694,
"query": 25694,
"color": 0,
"city": "Warsaw",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1775548377,
"score": 0,
"last_online": 1775831455,
"icon": null,
"name": "PixelFox.pl [1.21.X] Serwer w trakcie przerwy technicznej.",
"connect": "57.128.211.130:25694",
"request": "57.128.211.130:25694",
"map": null,
"gamemode": null,
"version": "§cPRZERWA TECHNICZNA",
"numplayers": 0,
"maxplayers": 500,
"bots": 0,
"secured": null,
"private": null,
"country": "PL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1775548377,
"last_update": 1775831455,
"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": 5337,
"language": "pl",
"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/11488532");
$data = json_decode($json, true);
var_dump($data);