Counter-Strike: Source
[v34][UA] Вінницький паблік 18+ [DD2 ONLY] için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11127043json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11127043,
"ip": "149.50.101.26",
"port": 26149,
"query": 26149,
"color": 0,
"city": "Warsaw",
"description": null,
"game": 240,
"owner": 165533,
"boosts": 1,
"last_offline": 1773484932,
"score": 0,
"last_online": 1776822621,
"icon": null,
"name": "[v34][UA] Вінницький паблік 18+ [DD2 ONLY]",
"connect": "149.50.101.26:26149",
"request": "149.50.101.26:26149",
"map": "de_dust2",
"gamemode": "FREE VIP 24/7",
"version": "1.0.0.34",
"numplayers": 0,
"maxplayers": 23,
"bots": 10,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1770148204,
"last_update": 1776822621,
"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": 305,
"language": "pl",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": {
"username": "sasha35",
"avatar": "3b94741a-2617-4ab1-9f15-f7782d9ec395.jpg",
"last_online": 1770322691
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11127043");
$data = json_decode($json, true);
var_dump($data);