Squad
API für [UA/ENG] Ukr.Games #2 | Ukraine's Squad Community | ds.ukr.games
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11142309json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11142309,
"ip": "57.128.211.165",
"port": 7788,
"query": 7788,
"color": 0,
"city": "Warsaw",
"description": null,
"game": 393380,
"owner": null,
"boosts": 1,
"last_offline": 1775022154,
"score": 0,
"last_online": 1778541638,
"icon": null,
"name": "[UA/ENG] Ukr.Games #2 | Ukraine's Squad Community | ds.ukr.games",
"connect": "57.128.211.165:7788",
"request": "57.128.211.165:7788",
"map": "Kamdesh_Skirmish_v1",
"gamemode": "Skirmish",
"version": "v10.4.1.604352.2183",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": null,
"country": "PL",
"status": true,
"votes": 0,
"points": 31,
"add_date": 1770804045,
"last_update": 1778541638,
"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": 68,
"language": "pl",
"parked": false,
"app": {
"id": 137,
"steam_id": 393380,
"name": "Squad",
"url": "squad"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11142309");
$data = json_decode($json, true);
var_dump($data);