Minecraft
1.16.5-1.20.x Fantomas 1.16.5-1.20.x Кейсы,Анархия,Дропы için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/9696583json
{
"response": {
"steam_id": null,
"domain": null,
"id": 9696583,
"ip": "95.216.48.149",
"port": 25772,
"query": 25772,
"color": 0,
"city": "Helsinki",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1775926873,
"score": 0,
"last_online": 1776107450,
"icon": null,
"name": "1.16.5-1.20.x Fantomas 1.16.5-1.20.x Кейсы,Анархия,Дропы",
"connect": "95.216.48.149:25772",
"request": "95.216.48.149:25772",
"map": null,
"gamemode": "FML",
"version": "BungeeCord 1.8.x-1.21.x",
"numplayers": 0,
"maxplayers": 1000,
"bots": 0,
"secured": null,
"private": null,
"country": "FI",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1751742070,
"last_update": 1776107450,
"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": 3216,
"language": "fi",
"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/9696583");
$data = json_decode($json, true);
var_dump($data);