Half-Life
API for [imqa] #1 PEREZAGRUZKA
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/10998671json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10998671,
"ip": "64.188.74.250",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Helsinki",
"description": null,
"game": 70,
"owner": null,
"boosts": 1,
"last_offline": 1774697546,
"score": 0,
"last_online": 1776821431,
"icon": null,
"name": "[imqa] #1 PEREZAGRUZKA",
"connect": "64.188.74.250:27015",
"request": "64.188.74.250:27015",
"map": "dust2x2",
"gamemode": "PEREZAGRUZKA",
"version": "1.1.2.7/Stdio",
"numplayers": 2,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 41,
"add_date": 1769906537,
"last_update": 1776821431,
"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": 52,
"language": "fi",
"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/10998671");
$data = json_decode($json, true);
var_dump($data);