Insurgency: Sandstorm
API für 57th Squadron - US Chicago 2 - Custom Coop (+XP)
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/813572json
{
"response": {
"steam_id": "85568392924534213",
"domain": null,
"id": 813572,
"ip": "149.28.124.133",
"port": 7888,
"query": 27132,
"color": 0,
"city": "Elk Grove Village",
"description": "",
"game": 581320,
"owner": null,
"boosts": 1,
"last_offline": 1771957294,
"score": null,
"last_online": 1776376881,
"icon": null,
"name": "57th Squadron - US Chicago 2 - Custom Coop (+XP)",
"connect": "149.28.124.133:7888",
"request": "149.28.124.133:27132",
"map": "Forest",
"gamemode": "Checkpoint",
"version": "1.1.0.0",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1684359889,
"last_update": 1776376881,
"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": 38,
"language": "en",
"parked": false,
"app": {
"id": 23489,
"steam_id": 581320,
"name": "Insurgency: Sandstorm",
"url": "insurgency-sandstorm"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/813572");
$data = json_decode($json, true);
var_dump($data);