Counter-Strike
API для WristHaX.com | GunGame [1000FPS|NYC]
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/24519json
{
"response": {
"steam_id": null,
"domain": null,
"id": 24519,
"ip": "104.156.224.132",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Piscataway",
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1775041935,
"score": null,
"last_online": 1775835678,
"icon": null,
"name": "WristHaX.com | GunGame [1000FPS|NYC]",
"connect": "104.156.224.132:27015",
"request": "104.156.224.132:27015",
"map": "gg_dinoiceworld_orange",
"gamemode": "WristHaX.com",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 32,
"bots": 6,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1516147135,
"last_update": 1775835678,
"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": 5065,
"language": "en",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/24519");
$data = json_decode($json, true);
var_dump($data);