Half-Life
API for [FR] -= HLD-OSM-SERVER =- FastDL (Stay Healthy, Play HL)
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/10319469json
{
"response": {
"steam_id": "90284727283378196",
"domain": null,
"id": 10319469,
"ip": "81.28.193.13",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Ferney-Voltaire",
"description": null,
"game": 70,
"owner": null,
"boosts": 1,
"last_offline": 1776708799,
"score": 0,
"last_online": 1776780029,
"icon": null,
"name": "[FR] -= HLD-OSM-SERVER =- FastDL (Stay Healthy, Play HL)",
"connect": "81.28.193.13:27015",
"request": "81.28.193.13:27015",
"map": "cold_faces",
"gamemode": "Half-Life",
"version": "1.1.2.2",
"numplayers": 3,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 50,
"add_date": 1758291636,
"last_update": 1776780029,
"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": 37,
"language": "fr",
"parked": false,
"app": {
"id": 9,
"steam_id": 70,
"name": "Half-Life",
"url": "half-life"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/10319469");
$data = json_decode($json, true);
var_dump($data);