s&box
API für [NA-East] Community Server | Powered by Nodecraft
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11491626json
{
"response": {
"revision": "222177",
"protocol": 1101,
"gameident": "facepunch.sbdm",
"hidden": false,
"api": 25,
"steam_id": "90285621531447314",
"domain": null,
"id": 11491626,
"ip": "98.142.2.199",
"port": 27015,
"query": 27016,
"color": 0,
"city": "Ashburn",
"description": null,
"game": 590830,
"owner": null,
"boosts": 1,
"last_offline": 1778714536,
"score": 0,
"last_online": 1778503902,
"icon": null,
"name": "[NA-East] Community Server | Powered by Nodecraft",
"connect": "98.142.2.199:27015",
"request": "98.142.2.199:27016",
"map": "facepunch.depot",
"gamemode": "Deathmatch",
"version": "26.05.06a",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1777415028,
"last_update": 1778714536,
"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": 73,
"language": "en",
"parked": false,
"app": {
"id": 1646716,
"steam_id": 590830,
"name": "s&box",
"url": "sbox"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11491626");
$data = json_decode($json, true);
var_dump($data);