Rust
[JP][Easymode] game.macchky.net Oxide PvP Server 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/222815json
{
"response": {
"fps": 135,
"fps_avg": 145,
"entities_count": 94668,
"world_seed": 19190721,
"world_size": 4000,
"steam_id": "90285710218764302",
"domain": null,
"id": 222815,
"ip": "116.58.174.4",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Toshima City",
"description": "![$[JP][Easymode] game.macchky.net Oxide PvP Server](http://game.macchky.net/img/rustserver.png)Welcome to game.macchky.net Rust Oxide Server. This server is hosted by Japanese for almost Japanase and Asia. For latest Info >> Steam Group macchky.net",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778684579,
"score": null,
"last_online": 1778760018,
"icon": null,
"name": "[JP][Easymode] game.macchky.net Oxide PvP Server",
"connect": "116.58.174.4:28015",
"request": "116.58.174.4:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 1,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1582979143,
"last_update": 1778760018,
"banned": false,
"wipe": 1778181191,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1773,
"language": "ja",
"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/222815");
$data = json_decode($json, true);
var_dump($data);