API dla MoonTerra [EU] - Loot x2 / Craft x5 - Fresh UP 06/06/26
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": "90286691739588618",
"domain": null,
"id": 11764731,
"ip": "65.108.47.245",
"port": 20300,
"query": 20301,
"project_id": null,
"color": 0,
"city": "Helsinki",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780932285,
"last_online": 1781107384,
"icon": null,
"name": "MoonTerra [EU] - Loot x2 / Craft x5 - Fresh UP 06/06/26",
"connect": "65.108.47.245:20300",
"request": "65.108.47.245:20301",
"map": "VRisingWorld",
"gamemode": "ce213269-8385-425d-a645-c8cc5e739da5",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780932285,
"last_update": 1781107384,
"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": 3766,
"language": "fi",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11764731");
$data = json_decode($json, true);
var_dump($data);