API dla Sidereal Plexus: Facility Umoja | Science-Focused RP | BxG2wvmR
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": "85568392935220939",
"domain": null,
"id": 11707976,
"ip": "146.59.53.125",
"port": 27015,
"query": 27015,
"project_id": null,
"color": 0,
"city": "Warsaw",
"description": null,
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1781211780,
"last_online": 1780969838,
"icon": null,
"name": "Sidereal Plexus: Facility Umoja | Science-Focused RP | BxG2wvmR",
"connect": "146.59.53.125:27015",
"request": "146.59.53.125:27015",
"map": "rp_facility_umoja",
"gamemode": "IX | Sidereal Plexus RP | WWC",
"version": "2026.04.29",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780262835,
"last_update": 1781211780,
"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": 5488,
"language": "pl",
"parked": false,
"app": {
"id": 30,
"steam_id": 4000,
"name": "Garry's Mod",
"url": "garrys-mod"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11707976");
$data = json_decode($json, true);
var_dump($data);