Minecraft
OPSUCHT CITYBUILD 1.21 ✦ TOLLE COMMUNITY WIRTSCHAFT ✦+ için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/7492724json
{
"response": {
"steam_id": null,
"domain": "opsucht.net",
"id": 7492724,
"ip": "57.129.49.101",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1776049948,
"score": 0,
"last_online": 1776084012,
"icon": null,
"name": "OPSUCHT CITYBUILD 1.21 ✦ TOLLE COMMUNITY WIRTSCHAFT ✦+",
"connect": "opsucht.net:25565",
"request": "57.129.49.101:25565",
"map": null,
"gamemode": "FML",
"version": "BungeeCord 1.8.x-26.1.x",
"numplayers": 781,
"maxplayers": 782,
"bots": 0,
"secured": null,
"private": null,
"country": "DE",
"status": true,
"votes": 0,
"points": 71,
"add_date": 1739272606,
"last_update": 1776084012,
"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": 60,
"language": "de",
"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/7492724");
$data = json_decode($json, true);
var_dump($data);