s&box
API for [EU] Community Server | Powered by Nodecraft
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/11491611json
{
"response": {
"revision": "222177",
"protocol": 1100,
"gameident": "facepunch.sbdm",
"hidden": false,
"api": 25,
"steam_id": "90285619967588375",
"domain": null,
"id": 11491611,
"ip": "23.109.4.126",
"port": 27015,
"query": 27016,
"color": 0,
"city": "Amsterdam",
"description": null,
"game": 590830,
"owner": null,
"boosts": 1,
"last_offline": 1778709734,
"score": 0,
"last_online": 1778503344,
"icon": null,
"name": "[EU] Community Server | Powered by Nodecraft",
"connect": "23.109.4.126:27015",
"request": "23.109.4.126:27016",
"map": "facepunch.depot",
"gamemode": "Deathmatch",
"version": "26.04.29a",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1777415027,
"last_update": 1778709734,
"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": 69,
"language": "nl",
"parked": false,
"app": {
"id": 1646716,
"steam_id": 590830,
"name": "s&box",
"url": "sbox"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11491611");
$data = json_decode($json, true);
var_dump($data);