Counter-Strike: Source
█ v34 █ Другий Український █ Public UA için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/6722931json
{
"response": {
"steam_id": null,
"domain": null,
"id": 6722931,
"ip": "91.211.118.90",
"port": 27070,
"query": 27070,
"color": 0,
"city": "Kryvyi Rih",
"description": null,
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1772068891,
"score": 0,
"last_online": 1776431438,
"icon": null,
"name": "█ v34 █ Другий Український █ Public UA",
"connect": "91.211.118.90:27070",
"request": "91.211.118.90:27070",
"map": "de_mirage_csgo_v2",
"gamemode": "█ █ █ Слава Украї́ні █ █ █",
"version": "1.0.0.34",
"numplayers": 6,
"maxplayers": 35,
"bots": 7,
"secured": false,
"private": false,
"country": "UA",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1732382686,
"last_update": 1776431438,
"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": 631,
"language": "uk",
"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/6722931");
$data = json_decode($json, true);
var_dump($data);