Quake Live
API für
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/7942745json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7942745,
"ip": "108.61.169.155",
"port": 27960,
"query": 27960,
"color": 0,
"city": "Sydney",
"description": null,
"game": 282440,
"owner": null,
"boosts": 1,
"last_offline": 1776235917,
"score": 0,
"last_online": 1776225062,
"icon": null,
"name": null,
"connect": null,
"request": "108.61.169.155:27960",
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": null,
"private": false,
"country": "AU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1740833535,
"last_update": 1776235917,
"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": 699,
"language": "en",
"parked": false,
"app": {
"id": 138,
"steam_id": 282440,
"name": "Quake Live",
"url": "quake-live"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/7942745");
$data = json_decode($json, true);
var_dump($data);