API pentru AshCrack's 3x
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 80,
"fps_avg": 49,
"entities_count": 43007,
"world_seed": 11111,
"world_size": 2500,
"steam_id": "90286637143946255",
"domain": null,
"id": 11511634,
"ip": "73.106.186.112",
"port": 28015,
"query": 28017,
"project_id": null,
"color": 0,
"city": "Dallas",
"description": "\nWelcome to My 3x server, We have Tons of Plugins to Try to give you a unique experience. One Main Thing is the lack of a tech Tree harking back to old rust where you need to loot and explore to get the BPs You need!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780669462,
"last_online": 1780686031,
"icon": null,
"name": "AshCrack's 3x",
"connect": "73.106.186.112:28015",
"request": "73.106.186.112:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 2,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1779353858,
"last_update": 1780686031,
"banned": false,
"wipe": 1780622472,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2920,
"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/11511634");
$data = json_decode($json, true);
var_dump($data);