Empyrion - Galactic Survival
PVEGAMING.COM Reforged Eden 2 Beta 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/562980json
{
"response": {
"steam_id": "90283791160010768",
"domain": null,
"id": 562980,
"ip": "107.133.213.165",
"port": 30000,
"query": 30001,
"color": 0,
"city": "La Grange",
"description": "",
"game": 383120,
"owner": null,
"boosts": 1,
"last_offline": 1775062334,
"score": null,
"last_online": 1776798142,
"icon": null,
"name": "PVEGAMING.COM Reforged Eden 2 Beta",
"connect": "107.133.213.165:30000",
"request": "107.133.213.165:30001",
"map": null,
"gamemode": "Empyrion - Galactic Survival",
"version": "v1.15",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1666648103,
"last_update": 1776798142,
"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": 72,
"language": "en",
"parked": false,
"app": {
"id": 140,
"steam_id": 383120,
"name": "Empyrion - Galactic Survival",
"url": "empyrion-galactic-survival"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/562980");
$data = json_decode($json, true);
var_dump($data);