API pentru ZONEZERO X5/X10 MAX2|DUO [TP|KIT|SHOP|LOOT+|Copter]
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"modded": true,
"steam_id": "90286577082448915",
"domain": null,
"id": 11744549,
"ip": "195.209.213.181",
"port": 21000,
"query": 21001,
"color": 0,
"city": "Moscow",
"description": "> Без лагов и фризов с приватным античитом> Коптеры на дорогах как раньше.> Стартовые наборы /kits> Система торговли /trade> Моментальный крафт (insta craft)",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780597467,
"last_online": 1780596624,
"icon": null,
"name": "ZONEZERO X5/X10 MAX2|DUO [TP|KIT|SHOP|LOOT+|Copter]",
"connect": "195.209.213.181:21000",
"request": "195.209.213.181:21001",
"map": "Procedural Map",
"gamemode": "Rust",
"version": "2625",
"numplayers": 0,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 98,
"add_date": 1780518703,
"last_update": 1780597467,
"banned": false,
"wipe": 1780508314,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 153,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11744549");
$data = json_decode($json, true);
var_dump($data);