No More Room in Hell
API für Official NMRiH Server #10 - US Dallas Nightmare
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/5904775json
{
"response": {
"steam_id": "90284347336536072",
"domain": null,
"id": 5904775,
"ip": "74.91.126.232",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Dallas",
"description": null,
"game": 224260,
"owner": null,
"boosts": 1,
"last_offline": 1776064336,
"score": 0,
"last_online": 1776196819,
"icon": null,
"name": "Official NMRiH Server #10 - US Dallas Nightmare",
"connect": "74.91.126.232:27015",
"request": "74.91.126.232:27015",
"map": "nms_favela",
"gamemode": "No More Room in Hell",
"version": "1.1.4.2",
"numplayers": 2,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 53,
"add_date": 1726049146,
"last_update": 1776196819,
"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": 24,
"language": "en",
"parked": false,
"app": {
"id": 6,
"steam_id": 224260,
"name": "No More Room in Hell",
"url": "no-more-room-in-hell"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/5904775");
$data = json_decode($json, true);
var_dump($data);