API dla LONE WOLF | SOLO 5X | Busy Dads & Adults | Biweekly Chill [NA]
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 233,
"fps_avg": 230,
"entities_count": 25267,
"world_seed": 466466173,
"world_size": 2500,
"steam_id": "90286649755371546",
"domain": null,
"id": 11677439,
"ip": "73.164.1.196",
"port": 28015,
"query": 28017,
"project_id": null,
"color": 0,
"city": "Manitowoc",
"description": "[RS-4bf4a6be] Solo 5x Rust for working dads & busy adults. Solo really means solo (team size 1, enforced). Fair raid window 5 PM-12 AM ET, no 3 AM offline raids. Play-to-earn RP: bounties, /shop, free /kit starter. Biweekly wipes, keep your progress. lonewolfsolo.com",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780696453,
"last_online": 1780705826,
"icon": null,
"name": "LONE WOLF | SOLO 5X | Busy Dads & Adults | Biweekly Chill [NA]",
"connect": "73.164.1.196:28015",
"request": "73.164.1.196:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 1,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1780216209,
"last_update": 1780705826,
"banned": false,
"wipe": 1780600540,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2518,
"language": "en",
"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/11677439");
$data = json_decode($json, true);
var_dump($data);