Half-Life
API for TTT Classic - Playtest Server - Join Discord for Access
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/11488985json
{
"response": {
"steam_id": "90284247415919616",
"domain": null,
"id": 11488985,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Ashburn",
"description": null,
"game": 70,
"owner": null,
"boosts": 1,
"last_offline": 1775968904,
"score": 0,
"last_online": 1776034266,
"icon": null,
"name": "TTT Classic - Playtest Server - Join Discord for Access",
"connect": null,
"request": null,
"map": "ttt_redlight",
"gamemode": "TTT Classic v0.21.0",
"version": "1.1.2.2/Stdio",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1775968904,
"last_update": 1776034266,
"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": 446,
"language": "en",
"parked": true,
"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/11488985");
$data = json_decode($json, true);
var_dump($data);