API для [PT/BR] INVESTIGACAO SP RP | POLICIA CIVIL | CASOS CRIMINAIS
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1792005969,
"app": {
"id": 40530,
"name": "Multi Theft Auto",
"steam_id": 9000039,
"url": "multi-theft-auto"
},
"color": 0,
"connect": "168.128.198.124:24303",
"country": "ZA",
"domain": null,
"game": 9000039,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 18233023,
"ip": "168.128.198.124",
"language": "en",
"last_update": 1794920686,
"map": null,
"maxplayers": 150,
"name": "[PT/BR] INVESTIGACAO SP RP | POLICIA CIVIL | CASOS CRIMINAIS",
"numplayers": 0,
"official": null,
"points": 0,
"port": 24303,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 24426,
"request": "168.128.198.124:24426",
"secured": null,
"status": false,
"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": 1794920686,
"last_online": 1794915863,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 3176,
"wipe_period": null,
"keep": false,
"serials": null,
"gameName": null,
"httpPort": 24307,
"restrictions": 0,
"specialFlags": 3,
"masterNoResponse": true,
"searchIgnoreSections": [
{
"length": 0,
"offset": 0
}
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/18233023");
$data = json_decode($json, true);
var_dump($data);