Counter-Strike 2
CS2 HNS #5 [RU] — CYBERSHOKE.NET (RULES) için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/7836157json
{
"response": {
"steam_id": "85568392932331384",
"domain": null,
"id": 7836157,
"ip": "46.174.52.109",
"port": 27033,
"query": 27033,
"color": 0,
"city": "Moscow",
"description": null,
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1776826996,
"score": 0,
"last_online": 1776855631,
"icon": null,
"name": "CS2 HNS #5 [RU] — CYBERSHOKE.NET (RULES)",
"connect": "46.174.52.109:27033",
"request": "46.174.52.109:27033",
"map": "hns_farmland_v4",
"gamemode": "Counter-Strike 2",
"version": "1.41.5.3",
"numplayers": 5,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 39,
"add_date": 1740140042,
"last_update": 1776855631,
"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": 1009,
"language": "ru",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/7836157");
$data = json_decode($json, true);
var_dump($data);