Valheim
API for GarysGulag
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/1837241json
{
"response": {
"steam_id": "90284403906487299",
"domain": null,
"id": 1837241,
"ip": "193.192.58.20",
"port": 28400,
"query": 28401,
"color": 0,
"city": "Frankfurt am Main",
"description": "",
"game": 892970,
"owner": null,
"boosts": 1,
"last_offline": 1774011719,
"score": null,
"last_online": 1776274857,
"icon": null,
"name": "GarysGulag",
"connect": "193.192.58.20:28400",
"request": "193.192.58.20:28401",
"map": "GarysGulag",
"gamemode": null,
"version": "0.221.12",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1700120311,
"last_update": 1776274857,
"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": 803,
"language": "de",
"parked": false,
"app": {
"id": 34967,
"steam_id": 892970,
"name": "Valheim",
"url": "valheim"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/1837241");
$data = json_decode($json, true);
var_dump($data);