Valheim
API for LaughTale
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/2500667json
{
"response": {
"steam_id": 90284352259602460,
"domain": null,
"id": 2500667,
"ip": "216.173.114.4",
"port": 6826,
"query": 6827,
"color": 0,
"city": "Ashburn",
"description": "",
"game": 892970,
"owner": null,
"boosts": 1,
"last_offline": 1770106604,
"score": null,
"last_online": 1776436315,
"icon": null,
"name": "LaughTale",
"connect": "216.173.114.4:6826",
"request": "216.173.114.4:6827",
"map": "LaughTale",
"gamemode": null,
"version": "0.221.4",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1705488150,
"last_update": 1776436315,
"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": 770,
"language": "en",
"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/2500667");
$data = json_decode($json, true);
var_dump($data);