API pentru WORKERS.GG US X1000000 BEST PVP!
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 29931,
"world_seed": 1809194452,
"world_size": 2500,
"steam_id": "90286591054087176",
"domain": null,
"id": 755077,
"ip": "104.143.3.133",
"port": 28054,
"query": 28058,
"color": 0,
"city": "Dallas",
"description": "\nWelcome to Workers.gg, the best PVP server around with premium plugins and everything you need for action-packed practice in the Rust PVP world.\r\n\r\nWipes every Thursday at 1PM CST.\r\n\r\n★ Features ★\r\n★ Spawn loadouts\r\n★ Spawn minicopter with instant takeoff and higher speed\r\n★ Shorter bag timers\r\n★ Teleport\r\n★ Kits\r\n★ Stats tracker\r\n★ Skinbox\r\n★ Custom shop to spend points earned by playing\r\n★ Auto-powered turrets, SAM sites and Sentry Turrets!\r\n★ And much more!\r\n★ For more information use /info command in-game or Join our discord by pressing the view webpage button on the left or visit Workers.gg! Thanks for playing!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779707608,
"last_online": 1780581633,
"icon": null,
"name": "WORKERS.GG US X1000000 BEST PVP!",
"connect": "104.143.3.133:28054",
"request": "104.143.3.133:28058",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 3,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1677863371,
"last_update": 1780581633,
"banned": false,
"wipe": 1780531396,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1554,
"language": "en",
"parked": false,
"app": {
"id": 252490,
"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/755077");
$data = json_decode($json, true);
var_dump($data);