Samp
API для .:DesmadreSinLimites:.[FreeRoam+DM][Android/PC]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10882854json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10882854,
"ip": "51.81.48.177",
"port": 7083,
"query": 7083,
"color": 0,
"city": "Reston",
"description": null,
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1775797409,
"score": 0,
"last_online": 1776812430,
"icon": null,
"name": ".:DesmadreSinLimites:.[FreeRoam+DM][Android/PC]",
"connect": "51.81.48.177:7083",
"request": "51.81.48.177:7083",
"map": "San Andreas",
"gamemode": "Espaсol/FreeRoam/DM",
"version": "0.3.7-R3",
"numplayers": 16,
"maxplayers": 80,
"bots": 0,
"secured": null,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 39,
"add_date": 1768320806,
"last_update": 1776812430,
"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": 101,
"language": "en",
"parked": false,
"app": {
"id": 168,
"steam_id": 9000035,
"name": "Samp",
"url": "samp"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10882854");
$data = json_decode($json, true);
var_dump($data);