API для West Roleplay V2 | İstanbul-Medium-Global | Sesli/Yazılı
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794767702,
"app": {
"id": 40530,
"name": "Multi Theft Auto",
"steam_id": 9000039,
"url": "multi-theft-auto"
},
"color": 0,
"connect": "61.159.76.87:22003",
"country": "CN",
"domain": null,
"game": 9000039,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 20160819,
"ip": "61.159.76.87",
"language": "zh",
"last_update": 1794897844,
"map": null,
"maxplayers": 1024,
"name": "West Roleplay V2 | İstanbul-Medium-Global | Sesli/Yazılı",
"numplayers": 1,
"official": null,
"points": 31,
"port": 22003,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 22126,
"request": "61.159.76.87:22126",
"secured": null,
"status": true,
"steam_id": null,
"version": "1.6",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Zhangyelu",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794896686,
"last_online": 1794897844,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 319,
"wipe_period": null,
"keep": false,
"serials": null,
"gameName": null,
"httpPort": 22005,
"restrictions": 0,
"specialFlags": 1,
"masterNoResponse": false,
"searchIgnoreSections": [
{
"length": 0,
"offset": 0
}
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/20160819");
$data = json_decode($json, true);
var_dump($data);