Counter-Strike: Source
[KR] 봇전쟁 (플레이어 VS 봇) ☆★ için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/4678253json
{
"response": {
"steam_id": "90284756080684032",
"domain": null,
"id": 4678253,
"ip": "121.168.231.206",
"port": 27025,
"query": 27025,
"color": 0,
"city": "Yongin-si",
"description": "",
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1775706123,
"score": 0,
"last_online": 1776819035,
"icon": null,
"name": "[KR] 봇전쟁 (플레이어 VS 봇) ☆★",
"connect": "121.168.231.206:27025",
"request": "121.168.231.206:27025",
"map": "de_sa_cargo",
"gamemode": "Counter-Strike: Source",
"version": "9540945",
"numplayers": 2,
"maxplayers": 60,
"bots": 10,
"secured": true,
"private": false,
"country": "KR",
"status": true,
"votes": 0,
"points": 33,
"add_date": 1717693232,
"last_update": 1776819035,
"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": 478,
"language": "ko",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/4678253");
$data = json_decode($json, true);
var_dump($data);