V Rising
API für Capi & Friends
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11449396json
{
"response": {
"steam_id": "90284543448792090",
"domain": null,
"id": 11449396,
"ip": "115.42.46.216",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Los Angeles",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1774977972,
"score": 0,
"last_online": 1776786036,
"icon": null,
"name": "Capi & Friends",
"connect": "115.42.46.216:28015",
"request": "115.42.46.216:28016",
"map": "VRisingWorld",
"gamemode": "944428aa-2b33-4d0f-bbc3-d2eca3940410",
"version": "0.0.0.1",
"numplayers": 3,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 40,
"add_date": 1774977972,
"last_update": 1776786036,
"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": 47,
"language": "en",
"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/11449396");
$data = json_decode($json, true);
var_dump($data);