Valheim
API for LoicHadrien
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/948176json
{
"response": {
"steam_id": "90284548128636954",
"domain": null,
"id": 948176,
"ip": "51.144.71.138",
"port": 2456,
"query": 2457,
"color": 0,
"city": "Amsterdam",
"description": "",
"game": 892970,
"owner": null,
"boosts": 1,
"last_offline": 1770106610,
"score": null,
"last_online": 1776457284,
"icon": null,
"name": "LoicHadrien",
"connect": "51.144.71.138:2456",
"request": "51.144.71.138:2457",
"map": "LoicHadrien",
"gamemode": null,
"version": "0.218.19",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": false,
"private": true,
"country": "NL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1684772020,
"last_update": 1776457284,
"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": 516,
"language": "nl",
"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/948176");
$data = json_decode($json, true);
var_dump($data);