API для Abiotic Factor Server by G-Portal.com
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1787808737,
"app": {
"id": 1611062,
"name": "Abiotic Factor",
"steam_id": 427410,
"url": "abiotic-factor"
},
"color": 0,
"connect": "144.126.140.209:28600",
"country": "US",
"domain": null,
"game": 427410,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 14129403,
"ip": "144.126.140.209",
"language": "en",
"last_update": 1791089792,
"map": "EndDam",
"maxplayers": 4,
"name": "Abiotic Factor Server by G-Portal.com",
"numplayers": 0,
"official": null,
"points": 30,
"port": 28600,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 28615,
"request": "144.126.140.209:28615",
"secured": false,
"status": true,
"steam_id": "90293347280913426",
"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": 1790257438,
"last_online": 1791089792,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 1569,
"wipe_period": null,
"SN_i": "7",
"SN0_s": "abiotic",
"SN1_s": "factor",
"SN2_s": "server",
"SN3_s": "by",
"SN4_s": "g",
"SN5_s": "portal",
"SN6_s": "com",
"P2PADDR": "90293347280913426",
"P2PPORT": "28600",
"CONMETHOD": "P2P",
"GamePort_i": "28600",
"Hardcore_b": "false",
"OWNINGNAME": "Abiotic Factor Server by G-Portal.com",
"listentype": "d",
"Dedicated_b": "true",
"ShortCode_s": "FLB2W",
"environment": "w",
"MaxPlayers_i": "4",
"SESSIONFLAGS": "43",
"a2s_protocol": 17,
"USESPRESENCE_b": "false",
"CUSTOMJOININFO_s": "6c11df135d604827ae98d872c60cc528",
"players_complete": true,
"ModifiedRuleset_i": "1"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/14129403");
$data = json_decode($json, true);
var_dump($data);