API для JBMiscreated
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1792426732,
"app": {
"id": 69,
"name": "Miscreated",
"steam_id": 299740,
"url": "miscreated"
},
"color": 0,
"connect": "95.85.103.158:64090",
"country": "TM",
"domain": null,
"game": 299740,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 18698460,
"ip": "95.85.103.158",
"language": "tk",
"last_update": 1792701562,
"map": "islands",
"maxplayers": 50,
"name": "JBMiscreated",
"numplayers": 0,
"official": null,
"points": 0,
"port": 64090,
"private": null,
"project_id": null,
"pve": null,
"pvp": null,
"query": 64092,
"request": "95.85.103.158:64092",
"secured": true,
"status": false,
"steam_id": "90295320712738839",
"version": "1012043",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Ашхабад",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1792701562,
"last_online": 1792514344,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 158,
"wipe_period": null,
"os": "w",
"region": -1,
"product": "Miscreated",
"gametype": "09:35;1;0;0;0;1;1;0",
"dedicated": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/18698460");
$data = json_decode($json, true);
var_dump($data);