Team Fortress 2
█ BLW.TF US | SUPER ZOMBIE FORTRESS █ için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/240221json
{
"response": {
"steam_id": "85568392923169821",
"domain": null,
"id": 240221,
"ip": "85.117.240.52",
"port": 27010,
"query": 27010,
"color": 0,
"city": "Dallas",
"description": "",
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1776222071,
"score": null,
"last_online": 1776243621,
"icon": null,
"name": "█ BLW.TF US | SUPER ZOMBIE FORTRESS █",
"connect": "85.117.240.52:27010",
"request": "85.117.240.52:27010",
"map": "szf_isaac_v3",
"gamemode": "██ Super Zombie Fortress ██",
"version": "10515055",
"numplayers": 2,
"maxplayers": 50,
"bots": 2,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1583081825,
"last_update": 1776243621,
"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": 209,
"language": "en",
"parked": false,
"app": {
"id": 24,
"steam_id": 440,
"name": "Team Fortress 2",
"url": "team-fortress-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/240221");
$data = json_decode($json, true);
var_dump($data);