API для NonLivingInfluences
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1791663396,
"app": {
"id": 1611062,
"name": "Abiotic Factor",
"steam_id": 427410,
"url": "abiotic-factor"
},
"color": 0,
"connect": "73.232.50.214:7777",
"country": "US",
"domain": null,
"game": 427410,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 18080261,
"ip": "73.232.50.214",
"language": "en",
"last_update": 1791676566,
"map": "Labs",
"maxplayers": 8,
"name": "NonLivingInfluences",
"numplayers": 3,
"official": null,
"points": 81,
"port": 7777,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27015,
"request": "73.232.50.214:27015",
"secured": false,
"status": true,
"steam_id": "90294539924115485",
"version": "1.0.0.6",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Хьюстон",
"description": null,
"disabled_modules": [],
"gamemode": "Abiotic Factor",
"hidden": false,
"last_offline": null,
"last_online": 1791676566,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 11,
"wipe_period": null,
"SN_i": "1",
"MI0_s": "76561198102467219_+_|0002e3efbe0a4b2e98f962f17682ac34-!-76561198095986930_+_|0002f42a2ce547c0869d74fa0dd69552-!-76561198111058907_+_|000274fa1ace4526b9e0c5104d9a5cd2-!-",
"SN0_s": "nonlivinginfluences",
"P2PADDR": "90294539924115485",
"P2PPORT": "7777",
"CONMETHOD": "P2P",
"GamePort_i": "7777",
"Hardcore_b": "false",
"OWNINGNAME": "NonLivingInfluences",
"listentype": "d",
"Dedicated_b": "true",
"ShortCode_s": "070QX",
"environment": "w",
"MaxPlayers_i": "8",
"SESSIONFLAGS": "43",
"a2s_protocol": 17,
"USESPRESENCE_b": "false",
"CUSTOMJOININFO_s": "9c4d128a393944bda35b09e00c440c93",
"players_complete": true,
"ModifiedRuleset_i": "2"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/18080261");
$data = json_decode($json, true);
var_dump($data);