Counter-Strike
API for ПУШКИ + ЛАЗЕРЫ #9 ® FRAGLIMIT.RU
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/209932json
{
"response": {
"steam_id": null,
"domain": null,
"id": 209932,
"ip": "95.31.21.158",
"port": 27034,
"query": 27034,
"color": 0,
"city": "Moscow",
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1775668326,
"score": null,
"last_online": 1776166812,
"icon": null,
"name": "ПУШКИ + ЛАЗЕРЫ #9 ® FRAGLIMIT.RU",
"connect": "95.31.21.158:27034",
"request": "95.31.21.158:27034",
"map": "cs_assault_christmas",
"gamemode": "FRAGLIMIT.RU",
"version": "1.1.2.7/Stdio",
"numplayers": 21,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 79,
"add_date": 1582845168,
"last_update": 1776166812,
"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": 1897,
"language": "ru",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/209932");
$data = json_decode($json, true);
var_dump($data);