Isle Origin [Dev] 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11778781,
"ip": "92.38.222.115",
"port": 6666,
"query": 6666,
"project_id": null,
"color": 0,
"city": "Moscow",
"description": null,
"game": 376210,
"owner": 182641,
"boosts": 1,
"last_offline": 1781292407,
"last_online": 1781305830,
"icon": null,
"name": "Isle Origin [Dev]",
"connect": "92.38.222.115:6666",
"request": "92.38.222.115:6666",
"map": "Gateway",
"gamemode": null,
"version": "evrima 0.21.1425",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1781292407,
"last_update": 1781305830,
"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": 25,
"language": "ru",
"parked": false,
"app": {
"id": 136,
"steam_id": 376210,
"name": "The Isle",
"url": "the-isle"
},
"server_owner": {
"username": "isle_origin",
"avatar": "0ab07b86-b28d-4681-8b71-e7f8ee645f5f.png"
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11778781");
$data = json_decode($json, true);
var_dump($data);