API für AthlonServers
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "85568392932636616",
"domain": null,
"id": 11776749,
"ip": "142.114.59.115",
"port": 27015,
"query": 27015,
"project_id": null,
"color": 0,
"city": "North York",
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1780998682,
"last_online": 1781024550,
"icon": "https://i.ibb.co/tw3HmMZX/Icon.png",
"name": "AthlonServers",
"connect": "142.114.59.115:27015",
"request": "142.114.59.115:27015",
"map": "PEI",
"gamemode": "[Pure Vinilla] [Weekly Wipe] [PEI] [Mode Easy] [NA]",
"version": "3.26.3.2",
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780998682,
"last_update": 1781024550,
"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": 1674,
"language": "en",
"parked": false,
"app": {
"id": 48,
"steam_id": 304930,
"name": "Unturned",
"url": "unturned"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11776749");
$data = json_decode($json, true);
var_dump($data);