The Isle
API для [China]-tuanzhan-mg-YY:760939
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11141925json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11141925,
"ip": "202.189.5.125",
"port": 7777,
"query": 7777,
"color": 0,
"city": "Beijing",
"description": null,
"game": 376210,
"owner": null,
"boosts": 1,
"last_offline": 1775022155,
"score": 0,
"last_online": 1775752825,
"icon": null,
"name": "[China]-tuanzhan-mg-YY:760939",
"connect": "202.189.5.125:7777",
"request": "202.189.5.125:7777",
"map": "Gateway",
"gamemode": null,
"version": "evrima 0.21.414",
"numplayers": 21,
"maxplayers": 200,
"bots": 0,
"secured": false,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 38,
"add_date": 1770803757,
"last_update": 1775752825,
"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": 47,
"language": "zh",
"parked": false,
"app": {
"id": 136,
"steam_id": 376210,
"name": "The Isle",
"url": "the-isle"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11141925");
$data = json_decode($json, true);
var_dump($data);