API для Jappy Island
JSON для программ, сайтов и прочего
text
json
{
"response": {
"eosSessionId": "66a7d2b4cc3a4047afe34e0c7c2b111a",
"steam_id": null,
"domain": null,
"id": 14315492,
"ip": "143.58.162.32",
"port": 7782,
"query": 7782,
"project_id": null,
"color": 0,
"city": "Tower Hamlets",
"description": null,
"game": 376210,
"owner": null,
"boosts": 1,
"last_offline": 1788560772,
"last_online": 1788384797,
"icon": null,
"name": "Jappy Island",
"connect": "143.58.162.32:7782",
"request": "143.58.162.32:7782",
"map": "Gateway",
"gamemode": null,
"version": "evrima 0.20.117",
"numplayers": 0,
"maxplayers": 115,
"bots": 0,
"secured": null,
"private": false,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1788375026,
"last_update": 1788560772,
"ban_reason": null,
"banned": false,
"hidden": false,
"wipe": null,
"official": false,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2268,
"language": "en",
"parked": false,
"app": {
"id": 136,
"steam_id": 376210,
"name": "The Isle",
"url": "the-isle"
},
"server_owner": null,
"mods": [],
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/14315492");
$data = json_decode($json, true);
var_dump($data);