API для Northen Country Roleplay | HITS!
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11715520,
"ip": "103.253.213.104",
"port": 7777,
"query": 7777,
"project_id": null,
"color": 0,
"city": "Jakarta",
"description": null,
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1780734260,
"last_online": 1780734659,
"icon": null,
"name": "Northen Country Roleplay | HITS!",
"connect": "103.253.213.104:7777",
"request": "103.253.213.104:7777",
"map": "NC Xenophile",
"gamemode": "_NC:Build 29.1t.h",
"version": "omp 1.5.8.3137",
"numplayers": 2,
"maxplayers": 204,
"bots": 0,
"secured": null,
"private": true,
"country": "ID",
"status": true,
"votes": 0,
"points": 31,
"add_date": 1780301682,
"last_update": 1780734659,
"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": 251,
"language": "id",
"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/11715520");
$data = json_decode($json, true);
var_dump($data);