Minecraft
The S-FAM Minecraft Server için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11252593json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11252593,
"ip": "135.148.136.188",
"port": 8368,
"query": 8368,
"color": 0,
"city": "Watson",
"description": null,
"game": 9000034,
"owner": 181907,
"boosts": 1,
"last_offline": 1774284682,
"score": 0,
"last_online": 1776819018,
"icon": null,
"name": "The S-FAM Minecraft Server",
"connect": "135.148.136.188:8368",
"request": "135.148.136.188:8368",
"map": null,
"gamemode": null,
"version": "1.21.11",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": null,
"private": null,
"country": "US",
"status": true,
"votes": 1,
"points": 61,
"add_date": 1774284682,
"last_update": 1776819018,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": true,
"hide_address": false,
"hide_query": false,
"position_game": 123,
"language": "en",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": {
"username": "bracer50",
"avatar": "fbf8dc2d-5d0b-4c7c-aa5f-84ba2cc46eb7.jpg",
"last_online": 1774304176
},
"mods": [],
"disabled_modules": [
"reviews"
]
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11252593");
$data = json_decode($json, true);
var_dump($data);