Barotrauma
API for The Sunken Cities of R'lyeh
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/10913862json
{
"response": {
"steam_id": "90284081855905802",
"domain": null,
"id": 10913862,
"ip": "162.33.20.227",
"port": 9170,
"query": 9171,
"color": 0,
"city": "Amsterdam",
"description": null,
"game": 602960,
"owner": null,
"boosts": 1,
"last_offline": 1774229514,
"score": 0,
"last_online": 1776453063,
"icon": null,
"name": "The Sunken Cities of R'lyeh",
"connect": "162.33.20.227:9170",
"request": "162.33.20.227:9171",
"map": "Azimuth",
"gamemode": "Sandbox",
"version": "1.11.5.0",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": true,
"country": "NL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1768389717,
"last_update": 1776453063,
"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": 62,
"language": "nl",
"parked": false,
"app": {
"id": 50335,
"steam_id": 602960,
"name": "Barotrauma",
"url": "barotrauma"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/10913862");
$data = json_decode($json, true);
var_dump($data);