Rust
[GER] The Chosen Ones | Rust RP 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/6150389json
{
"response": {
"fps": 81,
"fps_avg": 83,
"entities_count": 93214,
"world_seed": 111410413,
"world_size": 4250,
"steam_id": "90284359439546374",
"domain": null,
"id": 6150389,
"ip": "164.128.164.4",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Meilen",
"description": "![[GER] The Chosen Ones | Rust RP](https://i.ibb.co/1sQ1fx4/tsomini.png)\nThe Chosen Ones ( Die Auserwählten ). Wir sind eine lustige Familie/Community. Wir spielen hier Roleplay. Jeder der Lust auf Roleplay hat, ist herzlich Willkommen. Wir haben viele custom Plugins. Dein Interesse wurde geweckt? Dann komm in unseren Discord und sei dabei.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776175317,
"score": 0,
"last_online": 1776222016,
"icon": null,
"name": "[GER] The Chosen Ones | Rust RP",
"connect": "164.128.164.4:28015",
"request": "164.128.164.4:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "CH",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1728012263,
"last_update": 1776222016,
"banned": false,
"wipe": 1775157018,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2852,
"language": "de",
"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/6150389");
$data = json_decode($json, true);
var_dump($data);