Rust
Duppies noobs No KOS 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/753611json
{
"response": {
"fps": 38,
"fps_avg": 35,
"entities_count": 142575,
"world_seed": 438781481,
"world_size": 4000,
"steam_id": "90284530705558551",
"domain": null,
"id": 753611,
"ip": "102.182.253.144",
"port": 28068,
"query": 28070,
"color": 0,
"city": "Cape Town",
"description": "\nDuppies is a South African No KOS Server, designed to Cater for Rust Newbies, But also Casual PVP experience. We do Bi-Monthly Wipes ( BP and Map ) on the 1st and (Map) on the 3rd Thursday of the month. You can find out more of the Server on our Discord Channel, Including Our Rules and Events Like Build Off Challenges, Air PVP, Treasure Hunts and Skin Give aways Etc. Not Reading the Rules is no excuse.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776714202,
"score": null,
"last_online": 1776878416,
"icon": null,
"name": "Duppies noobs No KOS",
"connect": "102.182.253.144:28068",
"request": "102.182.253.144:28070",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 30,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "ZA",
"status": true,
"votes": 0,
"points": 74,
"add_date": 1676380505,
"last_update": 1776878416,
"banned": false,
"wipe": 1776352879,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 604,
"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/753611");
$data = json_decode($json, true);
var_dump($data);