Left 4 Dead 2
[趣味]纯净对抗 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/11017289json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11017289,
"ip": "123.99.198.246",
"port": 2205,
"query": 2205,
"color": 0,
"city": "Shaoxing",
"description": null,
"game": 550,
"owner": null,
"boosts": 1,
"last_offline": 1775455924,
"score": 0,
"last_online": 1775748014,
"icon": null,
"name": "[趣味]纯净对抗",
"connect": "123.99.198.246:2205",
"request": "123.99.198.246:2205",
"map": "c7m2_barge",
"gamemode": "Left 4 Dead 2",
"version": "2.2.4.3",
"numplayers": 8,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 83,
"add_date": 1769944065,
"last_update": 1775748014,
"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": 176,
"language": "zh",
"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/11017289");
$data = json_decode($json, true);
var_dump($data);