Team Fortress 2
.facti13. .SRV7. .MYXOCPAHCK için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11366738json
{
"response": {
"steam_id": "90284494596439048",
"domain": null,
"id": 11366738,
"ip": "176.213.164.38",
"port": 27007,
"query": 27007,
"color": 0,
"city": "Tula",
"description": null,
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1776815549,
"score": 0,
"last_online": 1776351635,
"icon": null,
"name": ".facti13. .SRV7. .MYXOCPAHCK",
"connect": "176.213.164.38:27007",
"request": "176.213.164.38:27007",
"map": "muhosransk_fix3",
"gamemode": "PYCCKUE ECTb???",
"version": "10515055",
"numplayers": 6,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 11,
"add_date": 1774595293,
"last_update": 1776815549,
"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": 2039,
"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/11366738");
$data = json_decode($json, true);
var_dump($data);