API dla ONLI MIRAGE |🐳 KIIT🐳 | !KNIFE,!WS,!SKINS
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": "85568392935965382",
"domain": null,
"id": 10972693,
"ip": null,
"port": null,
"query": null,
"project_id": null,
"color": 0,
"city": "Mytishchi",
"description": null,
"game": 730,
"owner": 179166,
"boosts": 1,
"last_offline": 1778046742,
"last_online": 1777131029,
"icon": null,
"name": "ONLI MIRAGE |🐳 KIIT🐳 | !KNIFE,!WS,!SKINS",
"connect": null,
"request": null,
"map": "de_mirage",
"gamemode": "Counter-Strike 2",
"version": "1.41.5.4",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1768980242,
"last_update": 1778046742,
"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": 15209,
"language": "ru",
"parked": true,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "mask8441",
"avatar": "no.jpg"
},
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/10972693");
$data = json_decode($json, true);
var_dump($data);