Half-Life
API for -=| Crossfire Only |=-
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/10523134json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10523134,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "St Petersburg",
"description": "[{\"id\":\"_etfA7mxp-\",\"type\":\"paragraph\",\"data\":{\"text\":\"Crossfire Only 24 players\\n\\nhttps://hl-ds.ru/\"}}]",
"game": 70,
"owner": 144231,
"boosts": 1,
"last_offline": 1766987456,
"score": 0,
"last_online": 1766085611,
"icon": null,
"name": "-=| Crossfire Only |=-",
"connect": null,
"request": null,
"map": "crossfire",
"gamemode": "Half-Life",
"version": null,
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1762285443,
"last_update": 1766987456,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": true,
"hide_address": false,
"hide_query": false,
"position_game": 439,
"language": "ru",
"parked": true,
"app": {
"id": 9,
"steam_id": 70,
"name": "Half-Life",
"url": "half-life"
},
"server_owner": {
"username": "WHITE_CHANNEL",
"avatar": "fd6812a4-43b5-4289-9127-4bb7eb324621.jpg",
"last_online": 1776804240
},
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/10523134");
$data = json_decode($json, true);
var_dump($data);