API для Daei TeAm | Match ServeR
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1788556726,
"app": {
"id": 3,
"name": "Counter-Strike",
"steam_id": 10,
"url": "counter-strike"
},
"color": 0,
"connect": "5.57.32.203:21000",
"country": "IR",
"domain": null,
"game": 10,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 14764093,
"ip": "5.57.32.203",
"language": "fa",
"last_update": 1790452819,
"map": "de_dust2",
"maxplayers": 24,
"name": "Daei TeAm | Match ServeR",
"numplayers": 0,
"official": null,
"points": 30,
"port": 21000,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 21000,
"request": "5.57.32.203:21000",
"secured": false,
"status": true,
"steam_id": null,
"version": "1.1.2.7/Stdio",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Тегеран",
"description": null,
"disabled_modules": [],
"gamemode": "ASiA-GaMe.OrG",
"hidden": false,
"last_offline": 1790285418,
"last_online": 1790452819,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 20436,
"wipe_period": null,
"listentype": "d",
"environment": "w",
"a2s_protocol": 48,
"webmgr_version": "1.1",
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/14764093");
$data = json_decode($json, true);
var_dump($data);