API для [PT/BR] CAPITAL SUL RP | VIP GRATIS | BONUS | CASAS
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1792002585,
"app": {
"id": 40530,
"name": "Multi Theft Auto",
"steam_id": 9000039,
"url": "multi-theft-auto"
},
"color": 0,
"connect": "168.128.198.124:23103",
"country": "ZA",
"domain": null,
"game": 9000039,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 18229478,
"ip": "168.128.198.124",
"language": "en",
"last_update": 1794930267,
"map": null,
"maxplayers": 100,
"name": "[PT/BR] CAPITAL SUL RP | VIP GRATIS | BONUS | CASAS",
"numplayers": 0,
"official": null,
"points": 30,
"port": 23103,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 23226,
"request": "168.128.198.124:23226",
"secured": null,
"status": true,
"steam_id": null,
"version": "1.6",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Sandton",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794630998,
"last_online": 1794930267,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 1549,
"wipe_period": null,
"keep": true,
"serials": null,
"gameName": null,
"httpPort": 23107,
"restrictions": 0,
"specialFlags": 3,
"masterNoResponse": false,
"searchIgnoreSections": [
{
"length": 0,
"offset": 0
}
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/18229478");
$data = json_decode($json, true);
var_dump($data);