Team Fortress 2
[RU] Адская Дрочильня için API
Geniş bir entegrasyon yöntemleri yelpazesi sunuyoruz. Bunlardan herhangi birini kullanabilir veya JSON API'sini kullanarak kendinizinkini oluşturabilirsiniz. Yeni bir entegrasyon yöntemi ekleme öneriniz varsa, lütfen bizimle iletişime geçin. Bizimle iletişime geçin
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11143437json
{
"response": {
"steam_id": "85568392936178536",
"domain": null,
"id": 11143437,
"ip": "51.250.51.179",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"hHyW-AFmsV\",\"type\":\"paragraph\",\"data\":{\"text\":\"Сервер с RTD, Таунтами, и другими всякими плюшками, заходите к нам, тут весело!!\"}}]",
"game": 440,
"owner": 171362,
"boosts": 1,
"last_offline": 1775666526,
"score": 5,
"last_online": 1775926812,
"icon": null,
"name": "[RU] Адская Дрочильня",
"connect": "51.250.51.179:27015",
"request": "51.250.51.179:27015",
"map": "cp_orange_towers_2",
"gamemode": "Team Fortress",
"version": "10515055",
"numplayers": 6,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 98,
"add_date": 1771870370,
"last_update": 1775926812,
"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": 9,
"language": "ru",
"parked": false,
"app": {
"id": 24,
"steam_id": 440,
"name": "Team Fortress 2",
"url": "team-fortress-2"
},
"server_owner": {
"username": "no_a_youtuber",
"avatar": "f5a9ee2b-05ec-47b6-adff-2b6a3772c92a.jpg",
"last_online": 1772136009
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11143437");
$data = json_decode($json, true);
var_dump($data);