Plains of Pain
API für X Domination
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11394511json
{
"response": {
"steam_id": "90285162145498124",
"domain": null,
"id": 11394511,
"ip": "172.240.211.134",
"port": 7777,
"query": 27015,
"color": 0,
"city": "Dallas",
"description": null,
"game": 2218970,
"owner": null,
"boosts": 1,
"last_offline": 1777491813,
"score": 0,
"last_online": 1777564270,
"icon": null,
"name": "X Domination",
"connect": "172.240.211.134:7777",
"request": "172.240.211.134:27015",
"map": "1518871:21:1:512",
"gamemode": "Plains of Pain v0.8.7.8",
"version": "0.8.7.8",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774596974,
"last_update": 1777564270,
"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": 17,
"language": "en",
"parked": false,
"app": {
"id": 1617062,
"steam_id": 2218970,
"name": "Plains of Pain",
"url": "plains-of-pain"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11394511");
$data = json_decode($json, true);
var_dump($data);