API для Morch Roleplay 0/100 Players
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11631508,
"ip": "168.144.131.53",
"port": 7777,
"query": 7777,
"color": 0,
"city": "Broomfield",
"description": null,
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1780569207,
"last_online": 1780490468,
"icon": null,
"name": "Morch Roleplay 0/100 Players",
"connect": "168.144.131.53:7777",
"request": "168.144.131.53:7777",
"map": "San Andreas",
"gamemode": "M 0.01 OldBoys",
"version": "omp 1.5.8.3079",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": null,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779916736,
"last_update": 1780569207,
"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": 1254,
"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/11631508");
$data = json_decode($json, true);
var_dump($data);