Fistful of Frags
API для [WL] Cowboy-Strike (Explicit Lyrics)
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7483350json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7483350,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Chicago",
"description": null,
"game": 265630,
"owner": 112120,
"boosts": 1,
"last_offline": 1775282491,
"score": 0,
"last_online": 1774408814,
"icon": null,
"name": "[WL] Cowboy-Strike (Explicit Lyrics)",
"connect": null,
"request": null,
"map": "tp_juarez_hacienda",
"gamemode": "Teamplay",
"version": null,
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1739269650,
"last_update": 1775282491,
"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": 94,
"language": "en",
"parked": true,
"app": {
"id": 81,
"steam_id": 265630,
"name": "Fistful of Frags",
"url": "fistful-of-frags"
},
"server_owner": {
"username": "WeaselSteamID155",
"avatar": "08edbc1f-a2ef-41dc-93e0-a9e15a1f4f7e.jpg",
"last_online": 1742851980
},
"mods": [
{
"id": 1628,
"name": "SourceMod"
},
{
"id": 1629,
"name": "SourceBans"
}
],
"disabled_modules": [
"reviews",
"chat"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/7483350");
$data = json_decode($json, true);
var_dump($data);