Squad
API for [SPH] #2 SPH GAMING | VoteMap
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/11142721json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11142721,
"ip": "88.198.17.141",
"port": 7790,
"query": 7790,
"color": 0,
"city": "Falkenstein",
"description": null,
"game": 393380,
"owner": null,
"boosts": 1,
"last_offline": 1775022221,
"score": 0,
"last_online": 1776797439,
"icon": null,
"name": "[SPH] #2 SPH GAMING | VoteMap",
"connect": "88.198.17.141:7790",
"request": "88.198.17.141:7790",
"map": "Sumari_Seed_v1",
"gamemode": "Seed",
"version": "v10.3.1.576590.1719",
"numplayers": 7,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": null,
"country": "DE",
"status": true,
"votes": 0,
"points": 37,
"add_date": 1770815407,
"last_update": 1776797439,
"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": 116,
"language": "de",
"parked": false,
"app": {
"id": 137,
"steam_id": 393380,
"name": "Squad",
"url": "squad"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11142721");
$data = json_decode($json, true);
var_dump($data);