Counter-Strike
© АНТИКАЙФ • 21+ UA [PUBLIC + FREE VIP] için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/9732734json
{
"response": {
"steam_id": null,
"domain": null,
"id": 9732734,
"ip": "91.211.118.101",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Kryvyi Rih",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1776032536,
"score": 0,
"last_online": 1776325818,
"icon": null,
"name": "© АНТИКАЙФ • 21+ UA [PUBLIC + FREE VIP]",
"connect": "91.211.118.101:27015",
"request": "91.211.118.101:27015",
"map": "de_dust2",
"gamemode": "[nezlamnacs.com.ua]",
"version": "1.1.2.7/Stdio",
"numplayers": 7,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "UA",
"status": true,
"votes": 1,
"points": 46,
"add_date": 1752163133,
"last_update": 1776325818,
"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": 2492,
"language": "uk",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/9732734");
$data = json_decode($json, true);
var_dump($data);