API pentru [NA] WPG Boneyard [No Tech Tree][BiWeekly][Max 4]
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 173,
"fps_avg": 173,
"entities_count": 79673,
"world_seed": 1627439551,
"world_size": 3600,
"steam_id": 90286588695238660,
"domain": null,
"id": 5234638,
"ip": "50.72.57.40",
"port": 28010,
"query": 28017,
"color": 0,
"city": "Winnipeg",
"description": "Winnipeg’s own Rust server! Hard Core, No Tech Tree, 1/2 Scrap, bi-weekly wipes, max team size 4 for balanced PVP. Hosted in Manitoba for low NA ping. Active admin, no nonsense.\r\n Game Play:\r\n 50% Upkeep.\r\n 50% Scrap.\r\n NO TECH TREE\r\nWipe Schedule:\r\n-MAP- 2nd Thursday of the month and when force updates occur.\r\n-BPs- Monthly @ force\r\nRules:\r\n-No Hacking/scripting\r\n-No Intentional bug abuse\r\n-No EAC/FP banned alts\r\n-No VAC bans\r\n-No GAME bans\r\n-No RUSTADMIN bans\r\n-No racism\r\n-No teaming\r\n-Be respectful of one another\r\n-Bans are permanent\r\n-Maximum 4 players per team/code locks/TC\r\n----------",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780563869,
"last_online": 1780579843,
"icon": null,
"name": "[NA] WPG Boneyard [No Tech Tree][BiWeekly][Max 4]",
"connect": "50.72.57.40:28010",
"request": "50.72.57.40:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1721207830,
"last_update": 1780579843,
"banned": false,
"wipe": 1779396872,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2782,
"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/5234638");
$data = json_decode($json, true);
var_dump($data);