Sons Of The Forest
Sorcy55190 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10767580json
{
"response": {
"steam_id": "90278550728827935",
"domain": null,
"id": 10767580,
"ip": "170.23.138.239",
"port": 32128,
"query": 32129,
"color": 0,
"city": "Amsterdam",
"description": null,
"game": 1326470,
"owner": null,
"boosts": 1,
"last_offline": 1777553596,
"score": 0,
"last_online": 1777551657,
"icon": null,
"name": "Sorcy55190",
"connect": "170.23.138.239:32128",
"request": "170.23.138.239:32129",
"map": "Normal",
"gamemode": "Sons Of the Forest",
"version": "0.11.3.0.0",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": false,
"country": "NL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1766262340,
"last_update": 1777553596,
"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": 1208,
"language": "nl",
"parked": false,
"app": {
"id": 1569757,
"steam_id": 1326470,
"name": "Sons Of The Forest",
"url": "sons-of-the-forest"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10767580");
$data = json_decode($json, true);
var_dump($data);