API pentru Rangers Vanilla PVE No Upkeep|Monthly|Backpacks|Skins|Shop|Raid
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 12,
"fps_avg": 2,
"entities_count": 107435,
"world_seed": 1911754487,
"world_size": 4500,
"steam_id": "90286604319689747",
"domain": null,
"id": 10534539,
"ip": "66.51.99.28",
"port": 28018,
"query": 28019,
"color": 0,
"city": "Dallas",
"description": "\nRangers Vanilla PVE Thank you for joining \r\n Don't forget to join Rangers discord click the visit website button \r\n Monthly map wipes with rust force wipe \r\n Blueprints and Backpacks Wipe \r\n Vanilla Gather and Loot \r\n SimplePVE Protection \r\n *VIP* https://rangers15xserver.tip4serv.com/ \r\n Kits \r\n Shop \r\n Large Backpack \r\n Raidablebases \r\n Jetpack \r\n Skins \r\n SkillTree \r\n Cooking \r\n VirtualQuarries",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780623197,
"last_online": 1780596813,
"icon": null,
"name": "Rangers Vanilla PVE No Upkeep|Monthly|Backpacks|Skins|Shop|Raid",
"connect": "66.51.99.28:28018",
"request": "66.51.99.28:28019",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1762518696,
"last_update": 1780623197,
"banned": false,
"wipe": 1780596735,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 9956,
"language": "en",
"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/10534539");
$data = json_decode($json, true);
var_dump($data);