Counter-Strike: Global Offensive
API for
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/10682656json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10682656,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Mytishchi",
"description": "[{\"id\":\"IuQ8Vd0Yh0\",\"type\":\"paragraph\",\"data\":{\"text\":\"Очень крутой сервер\"}}]",
"game": 4465480,
"owner": 51665,
"boosts": 1,
"last_offline": 1777182761,
"score": 5,
"last_online": 1776315610,
"icon": null,
"name": null,
"connect": null,
"request": null,
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": null,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1764586450,
"last_update": 1777182761,
"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": 1460,
"language": "ru",
"parked": true,
"app": {
"id": 1629104,
"steam_id": 4465480,
"name": "Counter-Strike: Global Offensive",
"url": "counter-strike-global-offensive"
},
"server_owner": {
"username": "PazzisNor",
"avatar": "no.jpg",
"last_online": 1775641429
},
"mods": [
{
"id": 5,
"name": "Admin System"
},
{
"id": 14,
"name": "Advertisement"
},
{
"id": 4,
"name": "Admin List"
},
{
"id": 412,
"name": "Aim"
}
],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/10682656");
$data = json_decode($json, true);
var_dump($data);