Team Fortress 2
API for Shweet's Server (US East | Payload, Sniper Banned)
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/4530642json
{
"response": {
"steam_id": "85568392931648278",
"domain": null,
"id": 4530642,
"ip": "140.82.7.234",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Piscataway",
"description": "",
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1768642808,
"score": 0,
"last_online": 1775942442,
"icon": null,
"name": "Shweet's Server (US East | Payload, Sniper Banned)",
"connect": "140.82.7.234:27015",
"request": "140.82.7.234:27015",
"map": "pl_upward",
"gamemode": "Team Fortress",
"version": "9052224",
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1716986832,
"last_update": 1775942442,
"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": 1060,
"language": "en",
"parked": false,
"app": {
"id": 24,
"steam_id": 440,
"name": "Team Fortress 2",
"url": "team-fortress-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/4530642");
$data = json_decode($json, true);
var_dump($data);