API для GybiBite's Classic Wingman server!
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1790157274,
"app": {
"id": 2,
"name": "Counter-Strike 2",
"steam_id": 730,
"url": "counter-strike-2"
},
"color": 0,
"connect": "174.21.36.0:27016",
"country": "US",
"domain": null,
"game": 730,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 16978383,
"ip": "174.21.36.0",
"language": "en",
"last_update": 1790236311,
"map": "de_hive",
"maxplayers": 10,
"name": "GybiBite's Classic Wingman server!",
"numplayers": 0,
"official": null,
"points": 0,
"port": 27016,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27016,
"request": "174.21.36.0:27016",
"secured": true,
"status": false,
"steam_id": "85568392935824176",
"version": "1.41.8.2",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Сиэтл",
"description": null,
"disabled_modules": [],
"gamemode": "Counter-Strike 2",
"hidden": false,
"last_offline": 1790236311,
"last_online": 1790163016,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 31675,
"wipe_period": null,
"os": "l",
"region": 1,
"product": "cs2",
"gametype": "empty,3v3,classic,csgo,msm,wingman,secure",
"dedicated": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/16978383");
$data = json_decode($json, true);
var_dump($data);