Minecraft
API pentru BashyBashy 1.8-1.21 --- Non-toxic! --- Bedwars ◆ Fiend Fight ◆ Assault Course
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/6194345json
{
"response": {
"steam_id": null,
"domain": "play.bashybashy.com",
"id": 6194345,
"ip": "51.75.163.0",
"port": 25577,
"query": 25577,
"color": 0,
"city": "Erith",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1774898567,
"score": 0,
"last_online": 1776823286,
"icon": null,
"name": "BashyBashy 1.8-1.21 --- Non-toxic! --- Bedwars ◆ Fiend Fight ◆ Assault Course",
"connect": "play.bashybashy.com:25577",
"request": "51.75.163.0:25577",
"map": null,
"gamemode": "FML",
"version": "BungeeCord 1.8.x-26.1.x",
"numplayers": 0,
"maxplayers": 300,
"bots": 0,
"secured": null,
"private": null,
"country": "GB",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1728261911,
"last_update": 1776823286,
"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": 2199,
"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/6194345");
$data = json_decode($json, true);
var_dump($data);