Half-Life Deathmatch: Source
API for C8H10 For Half-Life Deathmatch: Source
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/11492299json
{
"response": {
"steam_id": "90285719906105356",
"domain": null,
"id": 11492299,
"ip": "150.158.140.188",
"port": 21058,
"query": 21058,
"color": 0,
"city": "Shanghai",
"description": null,
"game": 360,
"owner": 193758,
"boosts": 1,
"last_offline": 1778703779,
"score": 0,
"last_online": 1778778609,
"icon": null,
"name": "C8H10 For Half-Life Deathmatch: Source",
"connect": "150.158.140.188:21058",
"request": "150.158.140.188:21058",
"map": "bounce",
"gamemode": "Half-Life 1",
"version": "9540945",
"numplayers": 4,
"maxplayers": 16,
"bots": 4,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 110,
"add_date": 1778403166,
"last_update": 1778778609,
"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": 1,
"language": "zh",
"parked": false,
"app": {
"id": 31,
"steam_id": 360,
"name": "Half-Life Deathmatch: Source",
"url": "half-life-deathmatch-source"
},
"server_owner": {
"username": "cici8705",
"avatar": "no.jpg",
"last_online": 1778476548
},
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11492299");
$data = json_decode($json, true);
var_dump($data);