Rust
API pentru [EU] Enardo - 3x Small One Grid | Solo/Duo/Trio | OneGrid
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11305369json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 12975,
"world_seed": 26122953,
"world_size": 1750,
"steam_id": "90284543208471574",
"domain": null,
"id": 11305369,
"ip": "194.69.160.140",
"port": 28021,
"query": 29056,
"color": 0,
"city": "City of London",
"description": "![[EU] Enardo - 3x Small One Grid | Solo/Duo/Trio | OneGrid](https://effedion.nl/img/gzBekiMfH9qutos9lpQ0vGgKMSSJ68.png)\n[EU] Enardo - 3x Small One Grid | Solo/Duo/Trio\r\n \r\n WIPE SCHEDULE\r\n Tuesday & Friday Map Wipes @ 4PM CET\r\n Blueprint Wipes Every Friday\r\n Force Wipe: First Thursday of the Month @ 8PM CET\r\n \r\n TEAM LIMIT\r\n • Trio Limit (3 Max)\r\n • Team UI Limit: 3\r\nAllying with other teams is NOT ALLOWED\r\n \r\n VIP & Kits available at https://store.enardo.gg/\r\n Join the Discord - discord.gg/enardo\r\n \r\n 24/7 Admin Support | Custom Plugins | Amazing Performance | English Only Chat\r\n \r\n SERVER FEATURES\r\n -------------------------\r\n \r\n Blueprints\r\n • Tier 1 unlocked\r\n • Most Engineering Workbench BPs unlocked\r\n \r\n Rates\r\n • Smelting Speed 3x\r\n • Mixing Table Speed 2x\r\n • Cooking Workbench Speed 2x\r\n \r\n Gameplay\r\n • Reduced animal damage\r\n • Cars spawn with T3 parts\r\n • F1 kill cooldown: 30s\r\n \r\n Server Mechanics\r\n • Patrol Helicopter & Bradley attack only if provoked\r\n • Quarry outputs all resources when activated\r\n • Quarry & Pumpjack activation announced in gametips",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775750527,
"score": 0,
"last_online": 1776412219,
"icon": null,
"name": "[EU] Enardo - 3x Small One Grid | Solo/Duo/Trio | OneGrid",
"connect": "194.69.160.140:28021",
"request": "194.69.160.140:29056",
"map": "Enardo Maps",
"gamemode": "Survival",
"version": "2623",
"numplayers": 1,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1774592884,
"last_update": 1776412219,
"banned": false,
"wipe": 1775829663,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2201,
"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/11305369");
$data = json_decode($json, true);
var_dump($data);