API dla HiWaiOne - Играй с нами!!! Fabric Plasmo Voice 1.21.4
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7427227,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "[{\"id\":\"OICe01bieP\",\"type\":\"paragraph\",\"data\":{\"text\":\"IP: mc.nersrise.fun\"}}]",
"game": 9000034,
"owner": 37570,
"boosts": 1,
"last_offline": 1750457060,
"last_online": 1747706430,
"icon": null,
"name": "HiWaiOne - Играй с нами!!! Fabric Plasmo Voice 1.21.4",
"connect": null,
"request": null,
"map": null,
"gamemode": "FML",
"version": null,
"numplayers": 0,
"maxplayers": 4200,
"bots": 0,
"secured": false,
"private": null,
"country": "FI",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1739203484,
"last_update": 1750457060,
"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": 5582,
"language": "fi",
"parked": true,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": {
"username": "NersStudio",
"avatar": "dc548692-8c1e-43b6-8cff-27db2e0bffc7.jpg"
},
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/7427227");
$data = json_decode($json, true);
var_dump($data);