Counter-Strike: Source
ɪllegʌL Adaptive Bots ! için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10351140json
{
"response": {
"steam_id": "90284310080574472",
"domain": null,
"id": 10351140,
"ip": "74.91.120.30",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Dallas",
"description": null,
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1776060712,
"score": 0,
"last_online": 1776117018,
"icon": null,
"name": "ɪllegʌL Adaptive Bots !",
"connect": "74.91.120.30:27015",
"request": "74.91.120.30:27015",
"map": "cs_gentech_final",
"gamemode": "Counter-Strike: Source",
"version": "9540945",
"numplayers": 9,
"maxplayers": 64,
"bots": 13,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 47,
"add_date": 1758534005,
"last_update": 1776117018,
"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": 407,
"language": "en",
"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/10351140");
$data = json_decode($json, true);
var_dump($data);