Quake Live
API für #tdmpickup @ https://houseofquake.com/discord #2
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/2344976json
{
"response": {
"steam_id": "90284385028904970",
"domain": null,
"id": 2344976,
"ip": "57.129.16.240",
"port": 27991,
"query": 27991,
"color": 0,
"city": "Frankfurt am Main",
"description": "",
"game": 282440,
"owner": null,
"boosts": 1,
"last_offline": 1774659744,
"score": null,
"last_online": 1776243656,
"icon": null,
"name": "#tdmpickup @ https://houseofquake.com/discord #2",
"connect": "57.129.16.240:27991",
"request": "57.129.16.240:27991",
"map": "campgrounds",
"gamemode": "Team Deathmatch",
"version": "1069 linux-x64 Jun 3 2016 20:53:50",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1703845512,
"last_update": 1776243656,
"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": 193,
"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/2344976");
$data = json_decode($json, true);
var_dump($data);