The Isle
API для EU PHOENIX #4 NoRules/AllDino
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11252408json
{
"response": {
"steam_id": "90284118064082962",
"domain": null,
"id": 11252408,
"ip": "91.196.32.118",
"port": 7780,
"query": 7781,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 376210,
"owner": null,
"boosts": 1,
"last_offline": 1774427542,
"score": 0,
"last_online": 1775742634,
"icon": null,
"name": "EU PHOENIX #4 NoRules/AllDino",
"connect": "91.196.32.118:7780",
"request": "91.196.32.118:7781",
"map": "Thenyaw Island",
"gamemode": "Survival",
"version": "0.1.8.1",
"numplayers": 4,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1773829685,
"last_update": 1775742634,
"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": 61,
"language": "de",
"parked": false,
"app": {
"id": 136,
"steam_id": 376210,
"name": "The Isle",
"url": "the-isle",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11252408");
$data = json_decode($json, true);
var_dump($data);