Age of Chivalry
API für AOC Remastered (https://discord.gg/7GJA2uTjpt) [CUSTOM]
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10928900json
{
"response": {
"steam_id": "90284120710998025",
"domain": null,
"id": 10928900,
"ip": "151.244.72.89",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 17510,
"owner": null,
"boosts": 1,
"last_offline": 1773736322,
"score": 0,
"last_online": 1776327666,
"icon": null,
"name": "AOC Remastered (https://discord.gg/7GJA2uTjpt) [CUSTOM]",
"connect": "151.244.72.89:27015",
"request": "151.244.72.89:27015",
"map": "aoc_Mazarbul",
"gamemode": "Age of Chivalry",
"version": "1.0.0.6",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1768481732,
"last_update": 1776327666,
"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": 2,
"language": "de",
"parked": false,
"app": {
"id": 17,
"steam_id": 17510,
"name": "Age of Chivalry",
"url": "age-of-chivalry"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10928900");
$data = json_decode($json, true);
var_dump($data);