Minecraft
1.21.11 --{ ᴅᴇʟᴛᴀᴍᴄ | ʙᴜʟɢᴀʀɪᴀ }-- 1.21.11 ɪꜱʟᴀɴᴅꜱ ꜱᴇᴀꜱᴏɴ 1 | ᴅᴇʟᴛᴀᴍᴄʙɢ.ᴄᴏᴍ | 05/03 20:30 için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10414113json
{
"response": {
"steam_id": null,
"domain": "play.deltamcbg.com",
"id": 10414113,
"ip": "45.137.203.146",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Eygelshoven",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1774534358,
"score": 0,
"last_online": 1776101425,
"icon": null,
"name": "1.21.11 --{ ᴅᴇʟᴛᴀᴍᴄ | ʙᴜʟɢᴀʀɪᴀ }-- 1.21.11 ɪꜱʟᴀɴᴅꜱ ꜱᴇᴀꜱᴏɴ 1 | ᴅᴇʟᴛᴀᴍᴄʙɢ.ᴄᴏᴍ | 05/03 20:30",
"connect": "play.deltamcbg.com:25565",
"request": "45.137.203.146:25565",
"map": null,
"gamemode": "FML",
"version": "Velocity 1.7.2-1.21.11",
"numplayers": 8,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": null,
"country": "NL",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1759824616,
"last_update": 1776101425,
"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": 1531,
"language": "nl",
"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/10414113");
$data = json_decode($json, true);
var_dump($data);