Garry's Mod
MaximumRP | ОТКРЫТИЕ | Х6 | ОБЫЧНЫЙ | M9K için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11492427json
{
"response": {
"steam_id": "90285716519621642",
"domain": null,
"id": 11492427,
"ip": "185.97.255.43",
"port": 27061,
"query": 27061,
"color": 0,
"city": "St Petersburg",
"description": null,
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1778671495,
"score": 0,
"last_online": 1778710905,
"icon": null,
"name": "MaximumRP | ОТКРЫТИЕ | Х6 | ОБЫЧНЫЙ | M9K",
"connect": "185.97.255.43:27061",
"request": "185.97.255.43:27061",
"map": "rp_bangclaw",
"gamemode": "DarkRP",
"version": "2026.04.29",
"numplayers": 0,
"maxplayers": 128,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1778671495,
"last_update": 1778710905,
"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": 2898,
"language": "ru",
"parked": false,
"app": {
"id": 30,
"steam_id": 4000,
"name": "Garry's Mod",
"url": "garrys-mod"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11492427");
$data = json_decode($json, true);
var_dump($data);