Insurgency: Sandstorm
API für UrgleServ Hardcore Coop [32 Supply & Full Kit Respawn]
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/9977082json
{
"response": {
"steam_id": "90284557441145869",
"domain": null,
"id": 9977082,
"ip": "20.28.187.223",
"port": 27102,
"query": 27101,
"color": 0,
"city": "The Rocks",
"description": null,
"game": 581320,
"owner": null,
"boosts": 1,
"last_offline": 1773261136,
"score": 0,
"last_online": 1776445276,
"icon": null,
"name": "UrgleServ Hardcore Coop [32 Supply & Full Kit Respawn]",
"connect": "20.28.187.223:27102",
"request": "20.28.187.223:27101",
"map": "Trainyard",
"gamemode": "Hardcore Checkpoint",
"version": "1.1.0.0",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1754896983,
"last_update": 1776445276,
"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": 199,
"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/9977082");
$data = json_decode($json, true);
var_dump($data);