Rust
Runaway Ravine - Cops VS Robbers PVP|PoliceDogs|SlowMotion|Fun 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/9713938json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 3619,
"world_seed": 1,
"world_size": 1750,
"steam_id": "90285607602230282",
"domain": null,
"id": 9713938,
"ip": "66.70.179.129",
"port": 27020,
"query": 27021,
"color": 0,
"city": "Montreal",
"description": "\nRunaway Ravine is a Protect the President, Car-chase Game Mode by RonyRollin.\r\n\r\nConcept inspired by Tactical Intervention; players get random cars at the start of the round & Terrorist team must escort the VIP (President) to steal the Gold and deliver it to the end to WIN. (Terrorist vs Counter-Terrorist)\r\n\r\nImmerse yourself in a full fledge Cops vs Robbers, hollywood-like experience; drive-by battles, Slow Motion, 8 classes with Special Abilities, Police Dogs, attack helicopter, drone turret & explosives at checkpoints.\r\n\r\nDiscord: https://discord.gg/JTGzMTPQhU \r\nSpecial thanks goes to coder: Bazz3l and critical researcher: Ketboy\r\n\r\n\r\nMaps: Mount Shrine, Mauna Loa, Mount Everest and Hala Bala",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778391779,
"score": 0,
"last_online": 1778686823,
"icon": null,
"name": "Runaway Ravine - Cops VS Robbers PVP|PoliceDogs|SlowMotion|Fun",
"connect": "66.70.179.129:27020",
"request": "66.70.179.129:27021",
"map": "Hala Bala",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 999,
"bots": 0,
"secured": false,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1751800638,
"last_update": 1778686823,
"banned": false,
"wipe": 1778475284,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3506,
"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/9713938");
$data = json_decode($json, true);
var_dump($data);