Rust
API pentru WARBANDITS.GG EU 2X |Solo/Duo/Trio/Quad/Max 5| JUST WIPED
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11305273json
{
"response": {
"modded": true,
"fps": 60,
"fps_avg": 60,
"entities_count": 179468,
"world_seed": 1850547038,
"world_size": 3700,
"steam_id": "90284608154484744",
"domain": null,
"id": 11305273,
"ip": "185.29.166.109",
"port": 28010,
"query": 28015,
"color": 0,
"city": "Amsterdam",
"description": "\nWelcome to WarBandits.gg 2x Max 5! \r\n - 2x Gather Rates \r\n - 2x Crafting Speed \r\n - 2x Components and Scrap \r\n - Recyclers at additional monuments \r\n - Custom High Performance Maps \r\n - Extended Workbench range \r\n - Long Days & Short Nights \r\n - Group Limit: 5 \r\n - Active Staff \r\n - Fast Smelt",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776477198,
"score": 0,
"last_online": 1776832216,
"icon": null,
"name": "WARBANDITS.GG EU 2X |Solo/Duo/Trio/Quad/Max 5| JUST WIPED",
"connect": "185.29.166.109:28010",
"request": "185.29.166.109:28015",
"map": "Wiped 3 Days ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 12,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 65,
"add_date": 1774592882,
"last_update": 1776832216,
"banned": false,
"wipe": 1776517021,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 772,
"language": "nl",
"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/11305273");
$data = json_decode($json, true);
var_dump($data);