Team Fortress 2
LOOS EU | Trade Plaza 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/854759json
{
"response": {
"steam_id": "90284240212622337",
"domain": null,
"id": 854759,
"ip": "5.196.29.250",
"port": 27016,
"query": 27016,
"color": 0,
"city": "Strasbourg",
"description": "",
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1775208132,
"score": null,
"last_online": 1775937029,
"icon": null,
"name": "LOOS EU | Trade Plaza",
"connect": "5.196.29.250:27016",
"request": "5.196.29.250:27016",
"map": "trade_plaza_2",
"gamemode": "██ FREE ITEMS ██",
"version": "10515055",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1684658502,
"last_update": 1775937029,
"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": 449,
"language": "fr",
"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/854759");
$data = json_decode($json, true);
var_dump($data);