Quake Live
API für #2 Chicago, IL, USA - multi-gametype
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/6812705json
{
"response": {
"steam_id": "90284350425430046",
"domain": null,
"id": 6812705,
"ip": "204.188.217.142",
"port": 27962,
"query": 27962,
"color": 0,
"city": "Chicago",
"description": null,
"game": 282440,
"owner": null,
"boosts": 1,
"last_offline": 1776070985,
"score": 0,
"last_online": 1776231665,
"icon": null,
"name": "#2 Chicago, IL, USA - multi-gametype",
"connect": "204.188.217.142:27962",
"request": "204.188.217.142:27962",
"map": "thunderstruck",
"gamemode": "Clan Arena",
"version": "1069 linux-x64 Jun 3 2016 20:53:50",
"numplayers": 0,
"maxplayers": 26,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1733476715,
"last_update": 1776231665,
"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": 292,
"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/6812705");
$data = json_decode($json, true);
var_dump($data);