API для connor and crew
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90287098252622866",
"domain": null,
"id": 11576560,
"ip": "85.190.153.193",
"port": 11700,
"query": 11701,
"project_id": null,
"color": 0,
"city": "Miami",
"description": null,
"game": 1326470,
"owner": null,
"boosts": 1,
"last_offline": 1781252029,
"last_online": 1781628153,
"icon": null,
"name": "connor and crew",
"connect": "85.190.153.193:11700",
"request": "85.190.153.193:11701",
"map": "Normal",
"gamemode": "Sons Of the Forest",
"version": "0.11.3.0.0",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779356827,
"last_update": 1781628153,
"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": 1214,
"language": "en",
"parked": false,
"app": {
"id": 1569757,
"steam_id": 1326470,
"name": "Sons Of The Forest",
"url": "sons-of-the-forest"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11576560");
$data = json_decode($json, true);
var_dump($data);