Half-Life
API for #1 OGHL.NET Server HLDM Crossfire 24/7
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/6148599json
{
"response": {
"steam_id": null,
"domain": null,
"id": 6148599,
"ip": "149.50.143.202",
"port": 29423,
"query": 29423,
"color": 0,
"city": "San Miguel de Tucumán",
"description": null,
"game": 70,
"owner": null,
"boosts": 1,
"last_offline": 1774492277,
"score": 0,
"last_online": 1776397830,
"icon": null,
"name": "#1 OGHL.NET Server HLDM Crossfire 24/7",
"connect": "149.50.143.202:29423",
"request": "149.50.143.202:29423",
"map": "Crossfire_Mod",
"gamemode": "Crossfire :3",
"version": "1.1.2.7/Stdio",
"numplayers": 3,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "AR",
"status": true,
"votes": 0,
"points": 46,
"add_date": 1728005565,
"last_update": 1776397830,
"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": "es",
"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/6148599");
$data = json_decode($json, true);
var_dump($data);