Rustomatic | Oldskool Hardcore | Bi-weekly için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 99,
"fps_avg": 98,
"entities_count": 102412,
"world_seed": 0,
"world_size": 4250,
"steam_id": "90286604260401175",
"domain": null,
"id": 10978322,
"ip": "142.132.217.116",
"port": 28025,
"query": 28027,
"color": 0,
"city": "Falkenstein",
"description": "\n♦ Server Details ♦\r\n Map wipe every 2 weeks on Thursday\r\n Monthly full wipe on first thursday of month\r\n Tech tree not available\r\n No team creation\r\n 7 bags limit with 7min bag timer and 5mins for bed\r\n Upkeep x0.5\r\n Local chat of 100m\r\n Active non-playing admins\r\n \r\n ♦ Server rules ♦\r\n No cheating allowed",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780596270,
"last_online": 1780607431,
"icon": null,
"name": "Rustomatic | Oldskool Hardcore | Bi-weekly",
"connect": "142.132.217.116:28025",
"request": "142.132.217.116:28027",
"map": "Procedural Map",
"gamemode": "Hardcore",
"version": "2627",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1769900959,
"last_update": 1780607431,
"banned": false,
"wipe": 1780596612,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2889,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10978322");
$data = json_decode($json, true);
var_dump($data);