API для T3ste servers and maps
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794375193,
"app": {
"id": 170,
"name": "Conan Exiles",
"steam_id": 440900,
"url": "conan-exiles"
},
"color": 0,
"connect": "177.92.36.107:7777",
"country": "BR",
"domain": null,
"game": 440900,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19951370,
"ip": "177.92.36.107",
"language": "pt",
"last_update": 1794753304,
"map": "ConanSandbox",
"maxplayers": 10,
"name": "T3ste servers and maps",
"numplayers": 0,
"official": false,
"points": 0,
"port": 7777,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27015,
"request": "177.92.36.107:27015",
"secured": null,
"status": false,
"steam_id": null,
"version": "379176",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Куритиба",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794753304,
"last_online": 1794382214,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 10465,
"wipe_period": null,
"S0": false,
"S4": 1,
"S7": 0,
"S8": 1,
"Sa": false,
"Sf": 0,
"Sl": 1,
"Sw": 900,
"Sy": 4,
"Sz": 1,
"CSF": 0,
"S05": false,
"S15": 0,
"S17": "40:0\n3726938483\n3766763946\n3742195754\n3781433448\n3781456996\n3731474693\n3742408955\n3754496802\n3775039607\n3724540700",
"S21": 1,
"S22": 0.1,
"S23": 0.1,
"S24": 1,
"S25": false,
"S30": 0,
"S115": 0.5,
"S117": false,
"S118": 0.5,
"S119": false,
"S120": "",
"S122": true,
"S124": 0,
"S125": true,
"guid": "ce7a11e19d2d38c5b45c8bb461e91dc7",
"kdsUri": "https://todo",
"buildId": 379176,
"dedicated": false,
"serverUID": "ce7a11e19d2d38c5b45c8bb461e91dc7"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19951370");
$data = json_decode($json, true);
var_dump($data);