Minecraft
CubeLand | vk.com/be_cube için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11156506json
{
"response": {
"steam_id": null,
"domain": "4mine.ru",
"id": 11156506,
"ip": "92.38.222.130",
"port": 19133,
"query": 19133,
"color": 0,
"city": "Moscow",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1774819966,
"score": 0,
"last_online": 1776109823,
"icon": null,
"name": "CubeLand | vk.com/be_cube",
"connect": "4mine.ru:19133",
"request": "92.38.222.130:19133",
"map": "InCore",
"gamemode": "Survival",
"version": "2.0",
"numplayers": 23,
"maxplayers": 110,
"bots": 0,
"secured": null,
"private": null,
"country": "RU",
"status": true,
"votes": 0,
"points": 38,
"add_date": 1772228018,
"last_update": 1776109823,
"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": 877,
"language": "ru",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11156506");
$data = json_decode($json, true);
var_dump($data);