+-----------+ KhaezerMc +-----------+ >> NEWS : S1 ( play.khaezermc.my.id ) için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": null,
"domain": "play.khaezermc.my.id",
"id": 11803776,
"ip": "15.235.230.26",
"port": 25473,
"query": 25473,
"project_id": null,
"color": 0,
"city": "Singapore",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1781463370,
"last_online": 1781479287,
"icon": null,
"name": "+-----------+ KhaezerMc +-----------+ >> NEWS : S1 ( play.khaezermc.my.id )",
"connect": "play.khaezermc.my.id:25473",
"request": "15.235.230.26:25473",
"map": null,
"gamemode": null,
"version": "1.21.11",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": null,
"private": null,
"country": "SG",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1781463370,
"last_update": 1781479287,
"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": 5064,
"language": "en",
"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/11803776");
$data = json_decode($json, true);
var_dump($data);