Minecraft
1.21.x | StarVoid | S2 Towny Style Fantasy Survival için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10737474json
{
"response": {
"steam_id": null,
"domain": "mp.axnt.fun",
"id": 10737474,
"ip": "122.176.97.190",
"port": 25891,
"query": 25891,
"color": 0,
"city": "Kolkata",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1775895678,
"score": 0,
"last_online": 1776106249,
"icon": null,
"name": "1.21.x | StarVoid | S2 Towny Style Fantasy Survival",
"connect": "mp.axnt.fun:25891",
"request": "122.176.97.190:25891",
"map": null,
"gamemode": null,
"version": "Velocity 1.7.2-1.21.11",
"numplayers": 1,
"maxplayers": 420,
"bots": 0,
"secured": null,
"private": null,
"country": "IN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766250097,
"last_update": 1776106249,
"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": 4023,
"language": "hi",
"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/10737474");
$data = json_decode($json, true);
var_dump($data);