Rust
API pentru [AU/NZ] Sydney #2 Small 2.5k custom map minis on roads
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/8463404json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 42160,
"world_seed": 1337,
"world_size": 2550,
"steam_id": "90284532903429144",
"domain": null,
"id": 8463404,
"ip": "114.76.116.107",
"port": 28015,
"query": 28014,
"color": 0,
"city": "Sydney",
"description": "![[AU/NZ] Sydney #2 Small 2.5k custom map minis on roads](https://www.dropbox.com/scl/fi/l8x0k9sm7u31alrvs0xdl/wicked-rust-hazmat-pic-resized.png?rlkey=kewrdz717m60z14q2kh6jubs0&dl=1)\nFriday morning Weekly Map Wipes. BPs wipe monthly. Small 2.5k custom map with building on roads allowed. \r\n\r\n Half decay. Hackable Crates 10 mins \r\n Join the Discord for raid alerts and more info. \r\n Hit the 'External Website' button to join the discord. \r\n Discord https://discord.gg/hC6DndrAXS",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775574808,
"score": 0,
"last_online": 1776393019,
"icon": null,
"name": "[AU/NZ] Sydney #2 Small 2.5k custom map minis on roads",
"connect": "114.76.116.107:28015",
"request": "114.76.116.107:28014",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 3,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1743888271,
"last_update": 1776393019,
"banned": false,
"wipe": 1776369063,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1352,
"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/8463404");
$data = json_decode($json, true);
var_dump($data);