ATLAS
API для D2 - (v560.3)
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11212046json
{
"response": {
"steam_id": "90285172035717133",
"domain": null,
"id": 11212046,
"ip": "82.64.103.181",
"port": 37593,
"query": 47593,
"color": 0,
"city": "Paris",
"description": null,
"game": 834910,
"owner": null,
"boosts": 1,
"last_offline": 1777562598,
"score": 0,
"last_online": 1777576906,
"icon": null,
"name": "D2 - (v560.3)",
"connect": "82.64.103.181:37593",
"request": "82.64.103.181:47593",
"map": "Ocean",
"gamemode": "TestGameMode_C",
"version": "560.3",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1772700861,
"last_update": 1777576906,
"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": 806,
"language": "fr",
"parked": false,
"app": {
"id": 23488,
"steam_id": 834910,
"name": "ATLAS",
"url": "atlas"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11212046");
$data = json_decode($json, true);
var_dump($data);