Counter-Strike: Source
BLACKOUT |Public| 18+ için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/8089141json
{
"response": {
"steam_id": null,
"domain": null,
"id": 8089141,
"ip": "46.174.52.12",
"port": 27235,
"query": 27235,
"color": 0,
"city": "Moscow",
"description": null,
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1773937321,
"score": 0,
"last_online": 1776230420,
"icon": null,
"name": "BLACKOUT |Public| 18+",
"connect": "46.174.52.12:27235",
"request": "46.174.52.12:27235",
"map": "awp_lego_2",
"gamemode": "☆ Night VIP ☆",
"version": "1.0.0.34",
"numplayers": 1,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 33,
"add_date": 1741612240,
"last_update": 1776230420,
"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": 477,
"language": "ru",
"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/8089141");
$data = json_decode($json, true);
var_dump($data);