API for Внимание! Используемый мастер-�
JSON for programs, websites and more
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11742070,
"ip": "88.198.47.43",
"port": 28073,
"query": 28073,
"project_id": null,
"color": 0,
"city": "Falkenstein",
"description": null,
"game": 520,
"owner": null,
"boosts": 1,
"last_offline": 1781581379,
"last_online": 1781501433,
"icon": null,
"name": "Внимание! Используемый мастер-�",
"connect": "88.198.47.43:28073",
"request": "88.198.47.43:28073",
"map": "l4d_airport01_greenhouse",
"gamemode": "Half-Life",
"version": "1.0.0.34",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780413429,
"last_update": 1781581379,
"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": 2,
"language": "de",
"parked": false,
"app": {
"id": 1473766,
"steam_id": 520,
"name": "Team Fortress 2 Beta",
"url": "team-fortress-2-beta"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11742070");
$data = json_decode($json, true);
var_dump($data);