Minecraft
API pentru :: GucciGame :: #1 - 1.1.5
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11156534json
{
"response": {
"steam_id": null,
"domain": "guccipe.fun",
"id": 11156534,
"ip": "109.248.4.234",
"port": 19133,
"query": 19133,
"color": 0,
"city": "Moscow",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1773190361,
"score": 0,
"last_online": 1776853233,
"icon": null,
"name": ":: GucciGame :: #1 - 1.1.5",
"connect": "guccipe.fun:19133",
"request": "109.248.4.234:19133",
"map": "UltraCore v1.1.5",
"gamemode": "Survival",
"version": "1.1.7",
"numplayers": 12,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": null,
"country": "RU",
"status": true,
"votes": 0,
"points": 39,
"add_date": 1772228020,
"last_update": 1776853233,
"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": 705,
"language": "ru",
"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/11156534");
$data = json_decode($json, true);
var_dump($data);