Counter-Strike: Global Offensive
API for
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/11220010json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11220010,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"ByqAlzP-3o\",\"type\":\"paragraph\",\"data\":{\"text\":\"Лучший игровой проект в ксго!\\n\\nсайт - JUICECSGO.RU\\n\\nDISCORD - discord.gg/juicecs\"}}]",
"game": 4465480,
"owner": 75926,
"boosts": 1,
"last_offline": 1776837626,
"score": 5,
"last_online": 1775925610,
"icon": null,
"name": null,
"connect": null,
"request": null,
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": null,
"private": false,
"country": "RU",
"status": false,
"votes": 23,
"points": 0,
"add_date": 1772751435,
"last_update": 1776837626,
"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": 1900,
"language": "ru",
"parked": true,
"app": {
"id": 1629104,
"steam_id": 4465480,
"name": "Counter-Strike: Global Offensive",
"url": "counter-strike-global-offensive"
},
"server_owner": {
"username": "dfkdd",
"avatar": "cddffa94-4206-4b7b-9c2a-ec2020b7afb0.jpg",
"last_online": 1774782265
},
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11220010");
$data = json_decode($json, true);
var_dump($data);