Minecraft
ʀᴇᴀʟᴍɪɴᴇ● Сервер, где мечты сбываются ● ● 1.21.4+ ● ● için API
Geniş bir entegrasyon yöntemleri yelpazesi sunuyoruz. Bunlardan herhangi birini kullanabilir veya JSON API'sini kullanarak kendinizinkini oluşturabilirsiniz. Yeni bir entegrasyon yöntemi ekleme öneriniz varsa, lütfen bizimle iletişime geçin. Bizimle iletişime geçin
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10737712json
{
"response": {
"steam_id": null,
"domain": "mc.hypecube.pw",
"id": 10737712,
"ip": "194.147.90.179",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Moscow",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1775409729,
"score": 0,
"last_online": 1775683852,
"icon": null,
"name": "ʀᴇᴀʟᴍɪɴᴇ● Сервер, где мечты сбываются ● ● 1.21.4+ ● ●",
"connect": "mc.hypecube.pw:25565",
"request": "194.147.90.179:25565",
"map": null,
"gamemode": "FML",
"version": "§c§l❐ §6§lʀ§6§lᴇ§6§lᴀ§6§lʟ§6§lᴍ§6§lɪ§6§lɴ§6§lᴇ§6§l §c§l❐§c §71.16.5-1.21 §c§l❐",
"numplayers": 0,
"maxplayers": 999,
"bots": 0,
"secured": false,
"private": null,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766250134,
"last_update": 1775683852,
"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": 4036,
"language": "ru",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10737712");
$data = json_decode($json, true);
var_dump($data);