Team Fortress 2
UGC.TF | 2FORT x10 RANDOMIZER | EU 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/214521json
{
"response": {
"steam_id": "85568392920046856",
"domain": null,
"id": 214521,
"ip": "193.221.192.29",
"port": 27015,
"query": 27015,
"color": 0,
"city": "City of London",
"description": "",
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1774261915,
"score": null,
"last_online": 1775931614,
"icon": null,
"name": "UGC.TF | 2FORT x10 RANDOMIZER | EU",
"connect": "193.221.192.29:27015",
"request": "193.221.192.29:27015",
"map": "ctf_2fort",
"gamemode": "*TF2x10+Randomizer*",
"version": "10515055",
"numplayers": 23,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 73,
"add_date": 1582969547,
"last_update": 1775931614,
"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": 60,
"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/214521");
$data = json_decode($json, true);
var_dump($data);