Sons Of The Forest
API für Cast at me
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11479443json
{
"response": {
"steam_id": "90284715814338591",
"domain": null,
"id": 11479443,
"ip": "134.255.198.251",
"port": 10300,
"query": 10301,
"color": 0,
"city": "Sydney",
"description": null,
"game": 1326470,
"owner": null,
"boosts": 1,
"last_offline": 1776726201,
"score": 0,
"last_online": 1776787856,
"icon": null,
"name": "Cast at me",
"connect": "134.255.198.251:10300",
"request": "134.255.198.251:10301",
"map": "Normal",
"gamemode": "Sons Of the Forest",
"version": "0.11.3.0.0",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774979098,
"last_update": 1776787856,
"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": 1420,
"language": "en",
"parked": false,
"app": {
"id": 1569757,
"steam_id": 1326470,
"name": "Sons Of The Forest",
"url": "sons-of-the-forest"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11479443");
$data = json_decode($json, true);
var_dump($data);