(CA)New Dawn Of Rust 2x Gather Rate and Resources| PvE | Monthl 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 52,
"fps_avg": 53,
"entities_count": 174931,
"world_seed": 238909786,
"world_size": 5500,
"steam_id": 90286575608037380,
"domain": null,
"id": 11502208,
"ip": "51.222.10.172",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Montreal",
"description": "\nNewbie Friendly, No BP WIPES, No PvP Except For In Raidable Bases. Players who haven't been online for over 10 days will have there base marked as abandoned and free for other players to loot.\r\nBE AWARE NPC don't just stand there they can Detect your footsteps and navigate the map to engage in combat",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780532059,
"last_online": 1780557634,
"icon": null,
"name": "(CA)New Dawn Of Rust 2x Gather Rate and Resources| PvE | Monthl",
"connect": "51.222.10.172:28015",
"request": "51.222.10.172:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207194,
"last_update": 1780557634,
"banned": false,
"wipe": 1780531886,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4891,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11502208");
$data = json_decode($json, true);
var_dump($data);