Counter-Strike 2
💚[CS2] GROZNYCS.RU💚 | MIRAGE ONLY #2 | !KNIFE !SKINS için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/6896207json
{
"response": {
"steam_id": "85568392932935690",
"domain": null,
"id": 6896207,
"ip": "46.174.55.92",
"port": 7777,
"query": 7777,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"2Qdu2Lw3wG\",\"type\":\"paragraph\",\"data\":{\"text\":\"Отличный сервер для новых знакомств и приятной игры!\"}}]",
"game": 730,
"owner": 82850,
"boosts": 1,
"last_offline": 1777364597,
"score": 3.5,
"last_online": 1777489208,
"icon": null,
"name": "💚[CS2] GROZNYCS.RU💚 | MIRAGE ONLY #2 | !KNIFE !SKINS",
"connect": "46.174.55.92:7777",
"request": "46.174.55.92:7777",
"map": "de_mirage",
"gamemode": "Counter-Strike 2",
"version": "1.41.5.6",
"numplayers": 5,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 638,
"points": 833,
"add_date": 1734167750,
"last_update": 1777489208,
"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": 20,
"language": "ru",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "6ker9",
"avatar": "70835ef7-f476-4d93-a693-df97958fe9aa.jpg",
"last_online": 1773774822
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/6896207");
$data = json_decode($json, true);
var_dump($data);