API dla Rangers 5x PVE|Monthly|CustomWeapons|Quests|Raidablebases
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 110018,
"world_seed": 3652402,
"world_size": 4500,
"steam_id": "90286588330519571",
"domain": null,
"id": 10571534,
"ip": "66.51.99.28",
"port": 28021,
"query": 28022,
"color": 0,
"city": "Dallas",
"description": "\nRangers 5x PVE Thank you for joining \r\n Don't forget to join Rangers discord click the visit website button \r\n Monthly map wipes with rust force wipe \r\n Blueprint and Backpacks never wipe \r\n 5x Gather \r\n SimplePVE Protection \r\n *VIP* https://rangers15xserver.tip4serv.com/ \r\n Kits \r\n Quests \r\n Shop \r\n Large Backpack \r\n Raidablebases \r\n Jetpack \r\n Skins \r\n SkillTree \r\n Cooking \r\n VirtualQuarries",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778177585,
"last_online": 1780581637,
"icon": null,
"name": "Rangers 5x PVE|Monthly|CustomWeapons|Quests|Raidablebases",
"connect": "66.51.99.28:28021",
"request": "66.51.99.28:28022",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1762847092,
"last_update": 1780581637,
"banned": false,
"wipe": 1778177564,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3727,
"language": "en",
"parked": false,
"app": {
"id": 252490,
"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/10571534");
$data = json_decode($json, true);
var_dump($data);