API dla AZ_Icarus
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": "90286348443233284",
"domain": null,
"id": 11618677,
"ip": "199.115.76.147",
"port": 26925,
"query": 26926,
"project_id": null,
"color": 0,
"city": "Los Angeles",
"description": null,
"game": 1149460,
"owner": null,
"boosts": 1,
"last_offline": 1779915951,
"last_online": 1780681913,
"icon": null,
"name": "AZ_Icarus",
"connect": "199.115.76.147:26925",
"request": "199.115.76.147:26926",
"map": null,
"gamemode": "Icarus",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779915951,
"last_update": 1780681913,
"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": 6312,
"language": "en",
"parked": false,
"app": {
"id": 1600891,
"steam_id": 1149460,
"name": "Icarus",
"url": "icarus"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11618677");
$data = json_decode($json, true);
var_dump($data);