API dla [US] RustyPlanet Reborn | 10X Hybrid PvE/PvP | Custom Missions
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 112,
"fps_avg": 117,
"entities_count": 118520,
"world_seed": 352165132,
"world_size": 4500,
"steam_id": 90286591058426880,
"domain": null,
"id": 11502653,
"ip": "143.103.45.19",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Jonesborough",
"description": "![[US] RustyPlanet Reborn | 10X Hybrid PvE/PvP | Custom Missions ](https://i.imgur.com/spPqcAX.png)\nWelcome to RustyPlanet Reborn\r\n\r\n10x - PVE/PVP Survival Experience\r\n\r\nThe planet has fallen... now it is time to rebuild.\r\nFarm faster, build bigger, raid harder, and survive longer.\r\nFriendly community, active admins, and a fresh Rust adventure.\r\nPVE for chill builders and explorers.\r\nPVP for survivors who want danger and action.\r\nYour new home in the wasteland starts here!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780571070,
"last_online": 1780610430,
"icon": null,
"name": "[US] RustyPlanet Reborn | 10X Hybrid PvE/PvP | Custom Missions",
"connect": "143.103.45.19:28015",
"request": "143.103.45.19:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207208,
"last_update": 1780610430,
"banned": false,
"wipe": 1778318664,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4839,
"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/11502653");
$data = json_decode($json, true);
var_dump($data);