Team Fortress 2
RU █ CHILLOUT.PW █ Freak Fortress için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11252519json
{
"response": {
"steam_id": "85568392933852361",
"domain": null,
"id": 11252519,
"ip": "155.212.214.195",
"port": 27017,
"query": 27017,
"color": 0,
"city": "Moscow",
"description": null,
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1775084488,
"score": 0,
"last_online": 1776789616,
"icon": null,
"name": "RU █ CHILLOUT.PW █ Freak Fortress",
"connect": "155.212.214.195:27017",
"request": "155.212.214.195:27017",
"map": "vsh_prison_final",
"gamemode": "Freak Fortress 2: Rewrite (1.2.custom)",
"version": "10515055",
"numplayers": 33,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 96,
"add_date": 1774115258,
"last_update": 1776789616,
"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": 16,
"language": "ru",
"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/11252519");
$data = json_decode($json, true);
var_dump($data);