API dla AUSSIE JIMS MONTHLY PVE NO RAIDING NO KILLING NO DECAY
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 119,
"fps_avg": 118,
"entities_count": 145739,
"world_seed": 1959613861,
"world_size": 4800,
"steam_id": "90286605355494418",
"domain": null,
"id": 11645333,
"ip": "202.128.116.128",
"port": 28018,
"query": 28019,
"color": 0,
"city": "Sydney",
"description": "\nWelcome to Aussie PVE. No Raiding No PVP allowed. No decay and Monthly Wipe This is a small friendly easy going server. Have Fun!!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780600465,
"last_online": 1780608029,
"icon": null,
"name": "AUSSIE JIMS MONTHLY PVE NO RAIDING NO KILLING NO DECAY",
"connect": "202.128.116.128:28018",
"request": "202.128.116.128:28019",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2627",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1780177460,
"last_update": 1780608029,
"banned": false,
"wipe": 1780597264,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2626,
"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/11645333");
$data = json_decode($json, true);
var_dump($data);