Minecraft
API pentru ☀ BYCRAFT NETWORK (1.16 - 1.21) ✪ 30% OFF ⊳ tienda.bycraft.net
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11156188json
{
"response": {
"steam_id": null,
"domain": "mp.bycraft.net",
"id": 11156188,
"ip": "135.148.137.240",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Warrenton",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1773994326,
"score": 0,
"last_online": 1778590236,
"icon": null,
"name": "☀ BYCRAFT NETWORK (1.16 - 1.21) ✪ 30% OFF ⊳ tienda.bycraft.net",
"connect": "mp.bycraft.net:25565",
"request": "135.148.137.240:25565",
"map": null,
"gamemode": null,
"version": "ByCraft",
"numplayers": 6,
"maxplayers": 200,
"bots": 0,
"secured": null,
"private": null,
"country": "US",
"status": true,
"votes": 0,
"points": 31,
"add_date": 1772227992,
"last_update": 1778590236,
"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": 1567,
"language": "en",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11156188");
$data = json_decode($json, true);
var_dump($data);