Ricochet
Vio's Arcade | Ricochet (Instant Respawns) 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10277449json
{
"response": {
"steam_id": "90284352355555355",
"domain": null,
"id": 10277449,
"ip": "97.94.129.234",
"port": 21565,
"query": 21565,
"color": 0,
"city": "Riverbank",
"description": null,
"game": 60,
"owner": null,
"boosts": 1,
"last_offline": 1776160916,
"score": 0,
"last_online": 1776193842,
"icon": null,
"name": "Vio's Arcade | Ricochet (Instant Respawns)",
"connect": "97.94.129.234:21565",
"request": "97.94.129.234:21565",
"map": "rc_stalkyard",
"gamemode": "Ricochet",
"version": "1.1.2.1",
"numplayers": 0,
"maxplayers": 32,
"bots": 4,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1757256559,
"last_update": 1776193842,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 9,
"language": "en",
"parked": false,
"app": {
"id": 25,
"steam_id": 60,
"name": "Ricochet",
"url": "ricochet"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10277449");
$data = json_decode($json, true);
var_dump($data);