Counter-Strike 2
API für UniqueMod LeveL
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10824767json
{
"response": {
"steam_id": "85568392933166079",
"domain": null,
"id": 10824767,
"ip": "37.230.210.175",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"DVwz6u5zaF\",\"type\":\"paragraph\",\"data\":{\"text\":\"UniqueMod like WCS but mutch better\\n\"}},{\"id\":\"fnbsMnMhpD\",\"type\":\"paragraph\",\"data\":{\"text\":\"Уникальный Мод похожий на WCS, но намного лучше\"}}]",
"game": 730,
"owner": 179647,
"boosts": 1,
"last_offline": 1775830922,
"score": 0,
"last_online": 1776801616,
"icon": null,
"name": "UniqueMod LeveL",
"connect": "37.230.210.175:27015",
"request": "37.230.210.175:27015",
"map": "de_dust2",
"gamemode": "Counter-Strike 2",
"version": "1.41.5.2",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 90,
"add_date": 1767436226,
"last_update": 1776801616,
"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": 192,
"language": "ru",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "semensemenich179",
"avatar": "b8905f19-0d81-4617-a5c9-c257b8e5f1b3.jpg",
"last_online": 1773836064
},
"mods": [
{
"id": 1777,
"name": "WCS"
}
],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10824767");
$data = json_decode($json, true);
var_dump($data);