Insurgency: Sandstorm
API für Island Castaways
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/813784json
{
"response": {
"steam_id": "90284389628904473",
"domain": null,
"id": 813784,
"ip": "108.61.233.34",
"port": 27025,
"query": 27026,
"color": 0,
"city": "Seattle",
"description": "",
"game": 581320,
"owner": null,
"boosts": 1,
"last_offline": 1776209515,
"score": null,
"last_online": 1776438107,
"icon": null,
"name": "Island Castaways",
"connect": "108.61.233.34:27025",
"request": "108.61.233.34:27026",
"map": "LastLight",
"gamemode": "Checkpoint",
"version": "1.1.0.0",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1684359960,
"last_update": 1776438107,
"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": 54,
"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/813784");
$data = json_decode($json, true);
var_dump($data);