Minecraft
API для Welcome to the Dirty Ores Server.
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/588164json
{
"response": {
"steam_id": null,
"domain": null,
"id": 588164,
"ip": "101.100.143.138",
"port": 7925,
"query": 7925,
"color": 0,
"city": "Окленд",
"description": "",
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1777979621,
"score": null,
"last_online": 1778623283,
"icon": null,
"name": "Welcome to the Dirty Ores Server.",
"connect": "101.100.143.138:7925",
"request": "101.100.143.138:7925",
"map": null,
"gamemode": null,
"version": "Paper 1.21.11",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": null,
"private": null,
"country": "NZ",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1669209105,
"last_update": 1778623283,
"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": 1756,
"language": "en",
"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/588164");
$data = json_decode($json, true);
var_dump($data);