Minecraft
❑ BLOCKMANIA ❑ Visit www.blockmania.com için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/1002616json
{
"response": {
"steam_id": null,
"domain": "blockmania.com",
"id": 1002616,
"ip": "15.235.14.112",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Montreal",
"description": "",
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1774726339,
"score": null,
"last_online": 1776107414,
"icon": null,
"name": "❑ BLOCKMANIA ❑ Visit www.blockmania.com",
"connect": "blockmania.com:25565",
"request": "15.235.14.112:25565",
"map": null,
"gamemode": "FML",
"version": "BungeeCord 1.8.x-26.1.x",
"numplayers": 31,
"maxplayers": 32,
"bots": 0,
"secured": null,
"private": null,
"country": "CA",
"status": true,
"votes": 0,
"points": 69,
"add_date": 1685031651,
"last_update": 1776107414,
"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": 98,
"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/1002616");
$data = json_decode($json, true);
var_dump($data);