API dla [GER] Ethorium VRising | PVE | Standard | DISCORD.GG/ethorium
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": "90286910951603214",
"domain": null,
"id": 11543695,
"ip": "88.99.77.98",
"port": 9876,
"query": 9877,
"project_id": null,
"color": 0,
"city": "Falkenstein",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780470421,
"last_online": 1781260842,
"icon": null,
"name": "[GER] Ethorium VRising | PVE | Standard | DISCORD.GG/ethorium",
"connect": "88.99.77.98:9876",
"request": "88.99.77.98:9877",
"map": "VRisingWorld",
"gamemode": "c3f4fcce-2821-4d4e-bef3-89b5d122d067",
"version": "0.0.0.1",
"numplayers": 1,
"maxplayers": 44,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 33,
"add_date": 1779355505,
"last_update": 1781260842,
"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": 248,
"language": "de",
"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/11543695");
$data = json_decode($json, true);
var_dump($data);