API dla CRIMSON TRIAL x5 | DUO PvP | WEEKEND RAID
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": "90285143959551007",
"domain": null,
"id": 11365685,
"ip": "108.198.189.210",
"port": 25718,
"query": 25719,
"color": 0,
"city": "Miami",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1777500159,
"last_online": 1780544566,
"icon": null,
"name": "CRIMSON TRIAL x5 | DUO PvP | WEEKEND RAID",
"connect": "108.198.189.210:25718",
"request": "108.198.189.210:25719",
"map": "VRisingWorld",
"gamemode": "13bdd931-0507-4935-84f1-0f1a16700ae9",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774595199,
"last_update": 1780544566,
"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": 1771,
"language": "en",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11365685");
$data = json_decode($json, true);
var_dump($data);