API pentru Rustomatic - Hardcore - Monthly - No tech tree
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 116,
"fps_avg": 114,
"entities_count": 94735,
"world_seed": 0,
"world_size": 4250,
"steam_id": "90286621327856663",
"domain": null,
"id": 4165806,
"ip": "142.132.217.116",
"port": 28019,
"query": 28020,
"color": 0,
"city": "Falkenstein",
"description": "\n♦ Server Details ♦ Monthly full wipe Tech tree not available No team creation Lower loot spawn rate, set to 85% 7 bags limit with 7min bag timer and 5mins for bed Upkeep x0.5 Local chat of 100m Active non-playing admins ♦ Server rules ♦ No cheating allowed ♦ Server discord ♦ Discord: www.rustomatic.eu/discord",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780639459,
"last_online": 1780663829,
"icon": null,
"name": "Rustomatic - Hardcore - Monthly - No tech tree",
"connect": "142.132.217.116:28019",
"request": "142.132.217.116:28020",
"map": "Procedural Map",
"gamemode": "Hardcore",
"version": "2627",
"numplayers": 2,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1714999794,
"last_update": 1780663829,
"banned": false,
"wipe": 1780596598,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2223,
"language": "de",
"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/4165806");
$data = json_decode($json, true);
var_dump($data);