Homefront
Salty Bawls 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/10620787json
{
"response": {
"steam_id": 90278550870982660,
"domain": null,
"id": 10620787,
"ip": "216.245.177.45",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Chicago",
"description": null,
"game": 55100,
"owner": null,
"boosts": 1,
"last_offline": 1774831928,
"score": 0,
"last_online": 1775718077,
"icon": null,
"name": "Salty Bawls",
"connect": "216.245.177.45:27015",
"request": "216.245.177.45:27015",
"map": "FL-ANGELISLAND",
"gamemode": "Homefront",
"version": "500001",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1763326441,
"last_update": 1775718077,
"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": 6,
"language": "en",
"parked": false,
"app": {
"id": 55,
"steam_id": 55100,
"name": "Homefront",
"url": "homefront",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10620787");
$data = json_decode($json, true);
var_dump($data);