Team Fortress 2
skial.com | CLASS WARS | 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/855096json
{
"response": {
"steam_id": 85568392920040240,
"domain": null,
"id": 855096,
"ip": "91.216.250.224",
"port": 27015,
"query": 27015,
"color": 0,
"city": "City of London",
"description": "",
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1773814321,
"score": null,
"last_online": 1775937026,
"icon": null,
"name": "skial.com | CLASS WARS | EU ███",
"connect": "91.216.250.224:27015",
"request": "91.216.250.224:27015",
"map": "cp_dustbowl",
"gamemode": "██ Skial ██",
"version": "10515055",
"numplayers": 4,
"maxplayers": 64,
"bots": 7,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 34,
"add_date": 1684658664,
"last_update": 1775937026,
"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": 315,
"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/855096");
$data = json_decode($json, true);
var_dump($data);