Conan Exiles
Erotic Sin - Battle for the flesh - PVP/ERP 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/2492213json
{
"response": {
"steam_id": null,
"domain": null,
"id": 2492213,
"ip": "193.238.207.62",
"port": 7785,
"query": 27019,
"color": 0,
"city": "Sæby",
"description": "",
"game": 440900,
"owner": null,
"boosts": 1,
"last_offline": 1776521603,
"score": null,
"last_online": 1776514935,
"icon": null,
"name": "Erotic Sin - Battle for the flesh - PVP/ERP",
"connect": "193.238.207.62:7785",
"request": "193.238.207.62:27019",
"map": "Savage Wilds",
"gamemode": "Conan Exiles",
"version": null,
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "DK",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1705095333,
"last_update": 1776521603,
"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": 856,
"language": "da",
"parked": false,
"app": {
"id": 170,
"steam_id": 440900,
"name": "Conan Exiles",
"url": "conan-exiles"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/2492213");
$data = json_decode($json, true);
var_dump($data);