API für Macvirii Castle
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90285788986267655",
"domain": null,
"id": 11691995,
"ip": "189.50.92.108",
"port": 27017,
"query": 27018,
"color": 0,
"city": "Brasília",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780225012,
"last_online": 1780570861,
"icon": null,
"name": "Macvirii Castle",
"connect": "189.50.92.108:27017",
"request": "189.50.92.108:27018",
"map": "VRisingWorld",
"gamemode": "440beb78-a977-4b86-a16e-22fc97443598",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": true,
"country": "BR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780225012,
"last_update": 1780570861,
"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": 3702,
"language": "pt",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11691995");
$data = json_decode($json, true);
var_dump($data);