Minecraft
API pentru MoMonirin :3 BuildBattle, Survival, BedWars] 1.21.4 - 1.21.10[
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10529300json
{
"response": {
"steam_id": null,
"domain": "momonirin.bounceme.net",
"id": 10529300,
"ip": "158.23.49.107",
"port": 24615,
"query": 24615,
"color": 0,
"city": "Querétaro City",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1776845551,
"score": 0,
"last_online": 1776715296,
"icon": null,
"name": "MoMonirin :3 BuildBattle, Survival, BedWars] 1.21.4 - 1.21.10[",
"connect": "momonirin.bounceme.net:24615",
"request": "158.23.49.107:24615",
"map": null,
"gamemode": null,
"version": "Velocity 1.7.2-1.21.11",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": null,
"private": null,
"country": "MX",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1762516896,
"last_update": 1776845551,
"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": 5555,
"language": "es",
"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/10529300");
$data = json_decode($json, true);
var_dump($data);