Squad
API для GoonPatrol Official PvE 2 | Best Missions | NY | https://discord.gg/cKnWFGcs7X
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11142735json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11142735,
"ip": "74.50.79.2",
"port": 10514,
"query": 10514,
"color": 0,
"city": "Englewood Cliffs",
"description": null,
"game": 393380,
"owner": null,
"boosts": 1,
"last_offline": 1775022168,
"score": 0,
"last_online": 1775735414,
"icon": null,
"name": "GoonPatrol Official PvE 2 | Best Missions | NY | https://discord.gg/cKnWFGcs7X",
"connect": "74.50.79.2:10514",
"request": "74.50.79.2:10514",
"map": "CHZ_PAY_KAMDESH_TLFMEI",
"gamemode": "ChZ Fireteam, ChZ Fireteam, RandomSelector",
"version": "v10.3.1.571437.1655",
"numplayers": 14,
"maxplayers": 15,
"bots": 0,
"secured": false,
"private": null,
"country": "US",
"status": true,
"votes": 0,
"points": 73,
"add_date": 1770815407,
"last_update": 1775735414,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 52,
"language": "en",
"parked": false,
"app": {
"id": 137,
"steam_id": 393380,
"name": "Squad",
"url": "squad",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11142735");
$data = json_decode($json, true);
var_dump($data);