Killing Floor 2
COMISARIA 76 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/11118037json
{
"response": {
"steam_id": "90284174549262342",
"domain": null,
"id": 11118037,
"ip": "45.235.98.241",
"port": 27315,
"query": 27316,
"color": 0,
"city": "Córdoba",
"description": null,
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1775467927,
"score": 0,
"last_online": 1775840473,
"icon": null,
"name": "COMISARIA 76",
"connect": "45.235.98.241:27315",
"request": "45.235.98.241:27316",
"map": "KF-KillZone-TheArena",
"gamemode": "Killing Floor 2",
"version": "1150",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "AR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1770113267,
"last_update": 1775840473,
"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": 718,
"language": "es",
"parked": false,
"app": {
"id": 51,
"steam_id": 232090,
"name": "Killing Floor 2",
"url": "killing-floor-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11118037");
$data = json_decode($json, true);
var_dump($data);