API для [TR] ❤ EWO GAMING ❱❱ [Türkiye/Turk/Freeroam/Roleplay/Araba/Drift/Klan/Turf/Ankara/Map]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794759284,
"app": {
"id": 40530,
"name": "Multi Theft Auto",
"steam_id": 9000039,
"url": "multi-theft-auto"
},
"color": 0,
"connect": "118.203.32.178:20044",
"country": "CN",
"domain": null,
"game": 9000039,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 20156761,
"ip": "118.203.32.178",
"language": "zh",
"last_update": 1794923065,
"map": null,
"maxplayers": 100,
"name": "[TR] ❤ EWO GAMING ❱❱ [Türkiye/Turk/Freeroam/Roleplay/Araba/Drift/Klan/Turf/Ankara/Map]",
"numplayers": 0,
"official": null,
"points": 30,
"port": 20044,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 20167,
"request": "118.203.32.178:20167",
"secured": null,
"status": true,
"steam_id": null,
"version": "1.6",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Шэньян",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794824744,
"last_online": 1794923065,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 2573,
"wipe_period": null,
"keep": true,
"serials": null,
"gameName": null,
"httpPort": 20045,
"restrictions": 0,
"specialFlags": 3,
"masterNoResponse": false,
"searchIgnoreSections": [
{
"length": 0,
"offset": 0
}
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/20156761");
$data = json_decode($json, true);
var_dump($data);