No More Room in Hell
API für Relaxed Virome NMRiH #2
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10961534json
{
"response": {
"steam_id": 85568392933123500,
"domain": null,
"id": 10961534,
"ip": "74.91.113.151",
"port": 27020,
"query": 27020,
"color": 0,
"city": "Greenville",
"description": null,
"game": 224260,
"owner": null,
"boosts": 1,
"last_offline": 1774697547,
"score": 0,
"last_online": 1776204658,
"icon": null,
"name": "Relaxed Virome NMRiH #2",
"connect": "74.91.113.151:27020",
"request": "74.91.113.151:27020",
"map": "nmo_lakeside",
"gamemode": "No More Room in Hell",
"version": "1.1.4.2",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1768751577,
"last_update": 1776204658,
"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": 174,
"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/10961534");
$data = json_decode($json, true);
var_dump($data);