API dla Bestrust Solo/Duo 2x #9 | JUST FULLWIPED 04.06 06/04
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 46642,
"world_seed": 1337,
"world_size": 2499,
"steam_id": "90286603479911451",
"domain": null,
"id": 11645010,
"ip": "185.207.214.37",
"port": 28015,
"query": 28017,
"project_id": null,
"color": 0,
"city": "Moscow",
"description": "\nWelcome to Bestrust Solo/Duo 2x #9!\nGet 3 free rust skins by using the BESTRUST code on https://rustmagic.com/\n\nWipe Schedule:\n• Fullwipes Every Sunday at 09:45 CEST\n• Fullwipes Every Thursday at 09:45 CEST\n- Last Wipe: 04.06 19:45 CEST Type: Full Wipe\n- Next Wipe: 07.06 09:45 CEST Type: Full Wipe\n\nFeatures:\n- 2x gathering & loot\n- Max Group Size: 2\n- Shared Blueprints\n- Balanced kits & commands\n- Great anti-cheat + Active non-playing admins",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780213430,
"last_online": 1780686025,
"icon": null,
"name": "Bestrust Solo/Duo 2x #9 | JUST FULLWIPED 04.06 06/04",
"connect": "185.207.214.37:28015",
"request": "185.207.214.37:28017",
"map": "Wiped 1 days ago",
"gamemode": "Survival",
"version": "2627",
"numplayers": 51,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 71,
"add_date": 1780177442,
"last_update": 1780686025,
"banned": false,
"wipe": 1780594651,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 942,
"language": "ru",
"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/11645010");
$data = json_decode($json, true);
var_dump($data);