Minecraft
| Eternal Realms | Welcome to Eternal Realms! You're using the wrong version! We're on 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3 için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/582106json
{
"response": {
"steam_id": null,
"domain": null,
"id": 582106,
"ip": "51.222.254.64",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Montreal",
"description": "",
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1770370867,
"score": null,
"last_online": 1776819684,
"icon": null,
"name": "| Eternal Realms | Welcome to Eternal Realms! You're using the wrong version! We're on 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3",
"connect": "51.222.254.64:25565",
"request": "51.222.254.64:25565",
"map": null,
"gamemode": "VANILLA",
"version": "GateKeeper 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3",
"numplayers": 0,
"maxplayers": 500,
"bots": 0,
"secured": null,
"private": null,
"country": "CA",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1668924862,
"last_update": 1776819684,
"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": 1684,
"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/582106");
$data = json_decode($json, true);
var_dump($data);