API для JJ Clan
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1756201046,
"app": {
"id": 136,
"name": "The Isle",
"steam_id": 376210,
"url": "the-isle"
},
"color": 0,
"connect": null,
"country": "DE",
"domain": null,
"game": 376210,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 10142736,
"ip": null,
"language": "de",
"last_update": 1764049863,
"map": "DV TestLevel",
"maxplayers": 10,
"name": "JJ Clan",
"numplayers": 0,
"official": null,
"points": 0,
"port": null,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": null,
"request": null,
"secured": false,
"status": false,
"steam_id": null,
"version": null,
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": null,
"description": null,
"disabled_modules": [],
"gamemode": "Sandbox",
"hidden": false,
"last_offline": 1764049863,
"last_online": 1763138415,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": true,
"position_game": 1222,
"wipe_period": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10142736");
$data = json_decode($json, true);
var_dump($data);