Quake Live
API für A New Quake Live Dedicated Server
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11386666json
{
"response": {
"steam_id": "90282954865783826",
"domain": null,
"id": 11386666,
"ip": "57.129.122.191",
"port": 27960,
"query": 27960,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 282440,
"owner": null,
"boosts": 1,
"last_offline": 1774596284,
"score": 0,
"last_online": 1776820321,
"icon": null,
"name": "A New Quake Live Dedicated Server",
"connect": "57.129.122.191:27960",
"request": "57.129.122.191:27960",
"map": "innersanctums",
"gamemode": "Capture the Flag",
"version": "1069 linux-i386 Jun 3 2016 20:53:43",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774596284,
"last_update": 1776820321,
"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": 605,
"language": "de",
"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/11386666");
$data = json_decode($json, true);
var_dump($data);