Half-Life
API for gabutique#2 Nerf Server [Pub]
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/10752470json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10752470,
"ip": "64.176.14.203",
"port": 37020,
"query": 37020,
"color": 0,
"city": "Santiago",
"description": null,
"game": 70,
"owner": null,
"boosts": 1,
"last_offline": 1775735526,
"score": 0,
"last_online": 1776418273,
"icon": null,
"name": "gabutique#2 Nerf Server [Pub]",
"connect": "64.176.14.203:37020",
"request": "64.176.14.203:37020",
"map": "crossfire",
"gamemode": "HL Nerf Server (HL25) v1.1.0",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "CL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766253841,
"last_update": 1776418273,
"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": 262,
"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/10752470");
$data = json_decode($json, true);
var_dump($data);