Team Fortress 2
P2X Dustbowl. -=Recruiting Regulars=- 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/7477918json
{
"response": {
"steam_id": "90284165896409093",
"domain": null,
"id": 7477918,
"ip": "158.69.253.58",
"port": 27016,
"query": 27016,
"color": 0,
"city": "Montreal",
"description": null,
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1770106611,
"score": 0,
"last_online": 1775936468,
"icon": null,
"name": "P2X Dustbowl. -=Recruiting Regulars=-",
"connect": "158.69.253.58:27016",
"request": "158.69.253.58:27016",
"map": "cp_dustbowl",
"gamemode": "Team Fortress",
"version": "10515055",
"numplayers": 0,
"maxplayers": 48,
"bots": 24,
"secured": true,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1739268463,
"last_update": 1775936468,
"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": 1249,
"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/7477918");
$data = json_decode($json, true);
var_dump($data);