API dla ONE GRID small PVP map | x5 rates | Kits
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 6653,
"world_seed": 6738,
"world_size": 1000,
"steam_id": "90286580230206473",
"domain": null,
"id": 2669744,
"ip": "136.243.51.246",
"port": 28068,
"query": 28065,
"color": 0,
"city": "Falkenstein",
"description": "\nOne grid small custom map\r\n - 50 x5\r\n - Kits by /kit command\r\n - Map Size: 1500\r\n - Weekly map wipe\r\n - Always bright nights\r\n - Some stacks increased\r\n - Half smelt and crafting speeds (Vanilla for raiding items)\r\n - Level 1 Workbench blueprints unlocked\r\nMax team size - 4\r\n - New accouts and private profiles are NOT allowed to play here.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778189583,
"last_online": 1780591235,
"icon": null,
"name": "ONE GRID small PVP map | x5 rates | Kits",
"connect": "136.243.51.246:28068",
"request": "136.243.51.246:28065",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1706043529,
"last_update": 1780591235,
"banned": false,
"wipe": 1779973640,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2716,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/2669744");
$data = json_decode($json, true);
var_dump($data);