Left 4 Dead 2
Valve Left4Dead 2 US West Server (srcds1001-eat1.117.65) 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/893895json
{
"response": {
"steam_id": "90284119485955091",
"domain": null,
"id": 893895,
"ip": "155.133.254.116",
"port": 27079,
"query": 27079,
"color": 0,
"city": "East Wenatchee",
"description": "",
"game": 550,
"owner": null,
"boosts": 1,
"last_offline": 1773777722,
"score": null,
"last_online": 1775735444,
"icon": null,
"name": "Valve Left4Dead 2 US West Server (srcds1001-eat1.117.65)",
"connect": "155.133.254.116:27079",
"request": "155.133.254.116:27079",
"map": "c5m1_waterfront",
"gamemode": "Left 4 Dead 2",
"version": "2.2.4.3",
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1684712019,
"last_update": 1775735444,
"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": 2890,
"language": "en",
"parked": false,
"app": {
"id": 11,
"steam_id": 550,
"name": "Left 4 Dead 2",
"url": "left-4-dead-2",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/893895");
$data = json_decode($json, true);
var_dump($data);