Counter-Strike: Global Offensive
API für NEXUS | PUBLIC | !VIPTEST !WS !KNIFE !GLOVES !AGENTS
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11234231json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11234231,
"ip": "91.211.118.59",
"port": 27032,
"query": 27032,
"color": 0,
"city": "Kyiv",
"description": "[{\"id\":\"qmGiRI0bnQ\",\"type\":\"paragraph\",\"data\":{\"text\":\"Nexus — это публичный CS:GO сервер, созданный для ламповой и комфортной игры. На сервере присутствует множество полезных плагинов, которые не мешают геймплейной составляющей сервера.\"}}]",
"game": 4465480,
"owner": 178721,
"boosts": 1,
"last_offline": 1777499602,
"score": 0,
"last_online": 1777566008,
"icon": null,
"name": "NEXUS | PUBLIC | !VIPTEST !WS !KNIFE !GLOVES !AGENTS",
"connect": "91.211.118.59:27032",
"request": "91.211.118.59:27032",
"map": "de_nuke",
"gamemode": "Counter-Strike: Global Offensive",
"version": "1.38.8.1",
"numplayers": 11,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "UA",
"status": true,
"votes": 0,
"points": 128,
"add_date": 1773244472,
"last_update": 1777566008,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 42,
"language": "ru",
"parked": false,
"app": {
"id": 1629104,
"steam_id": 4465480,
"name": "Counter-Strike: Global Offensive",
"url": "counter-strike-global-offensive"
},
"server_owner": {
"username": "lqgp1",
"avatar": "ff9557a0-ea16-4ef3-8cf4-1f83c88a9346.jpg",
"last_online": 1774390673
},
"mods": [
{
"id": 2189,
"name": "LevelRanks"
},
{
"id": 2190,
"name": "Vips"
},
{
"id": 2188,
"name": "Shop"
}
],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11234231");
$data = json_decode($json, true);
var_dump($data);