Sven Co-op
24/7 Black Mesa Special Tactics Sector 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/10884517json
{
"response": {
"steam_id": "90284163527609361",
"domain": null,
"id": 10884517,
"ip": "94.130.180.216",
"port": 27033,
"query": 27033,
"color": 0,
"city": "Nuremberg",
"description": null,
"game": 225840,
"owner": null,
"boosts": 1,
"last_offline": 1775538126,
"score": 0,
"last_online": 1775873457,
"icon": null,
"name": "24/7 Black Mesa Special Tactics Sector",
"connect": "94.130.180.216:27033",
"request": "94.130.180.216:27033",
"map": "bm_sts",
"gamemode": "Sven Co-op 5.26",
"version": "5.0.1.8",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1768321302,
"last_update": 1775873457,
"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": 157,
"language": "de",
"parked": false,
"app": {
"id": 65,
"steam_id": 225840,
"name": "Sven Co-op",
"url": "sven-co-op"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10884517");
$data = json_decode($json, true);
var_dump($data);