Hytale
API pentru Hytale Server
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11489944json
{
"response": {
"steam_id": null,
"domain": "hystralia.online",
"id": 11489944,
"ip": "51.161.199.96",
"port": 60447,
"query": 60447,
"color": 0,
"city": "North Sydney",
"description": null,
"game": 9000061,
"owner": 190592,
"boosts": 1,
"last_offline": 1777080418,
"score": 0,
"last_online": 1777121419,
"icon": null,
"name": "Hytale Server",
"connect": "hystralia.online:60447",
"request": "51.161.199.96:60447",
"map": null,
"gamemode": null,
"version": "2026.03.26-89796e57b",
"numplayers": 1,
"maxplayers": 16,
"bots": 0,
"secured": null,
"private": null,
"country": "AU",
"status": true,
"votes": 0,
"points": 64,
"add_date": 1777080418,
"last_update": 1777121419,
"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": 17,
"language": "en",
"parked": false,
"app": {
"id": 1665415,
"steam_id": 9000061,
"name": "Hytale",
"url": "hytale"
},
"server_owner": {
"username": "thedude1",
"avatar": "no.jpg",
"last_online": 1777084549
},
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11489944");
$data = json_decode($json, true);
var_dump($data);