Team Fortress 2
Rage Oldman 2fort BooFort - RTD Fast Respawn için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11478908json
{
"response": {
"steam_id": "90284631153060866",
"domain": null,
"id": 11478908,
"ip": "46.110.232.134",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Gateway",
"description": null,
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1776561152,
"score": 0,
"last_online": 1776810691,
"icon": null,
"name": "Rage Oldman 2fort BooFort - RTD Fast Respawn",
"connect": "46.110.232.134:27015",
"request": "46.110.232.134:27015",
"map": "ctf_2fort_saraya",
"gamemode": "Team Fortress",
"version": "10515055",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774979072,
"last_update": 1776810691,
"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": 2016,
"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/11478908");
$data = json_decode($json, true);
var_dump($data);