DEMONARCHY|2x|Instant Craft|Zlevels|Raidable Bases+More için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 10,
"fps_avg": 10,
"entities_count": 139302,
"world_seed": 1808670345,
"world_size": 5000,
"steam_id": "90286798745290758",
"domain": null,
"id": 11771347,
"ip": "103.55.9.132",
"port": 28015,
"query": 28017,
"project_id": null,
"color": 0,
"city": "Melbourne",
"description": "\n10x Resources & Components | InstaCraft | No Workbench | Raidable Bases | No Admin Abuse | Forced Wipes Only \r\n\r\nView our Website for more info and to join our Discord Channel\r\nChat is enabled between Rust and Discord!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781015676,
"last_online": 1781045427,
"icon": null,
"name": "DEMONARCHY|2x|Instant Craft|Zlevels|Raidable Bases+More",
"connect": "103.55.9.132:28015",
"request": "103.55.9.132:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780996895,
"last_update": 1781045427,
"banned": false,
"wipe": 1780609306,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6151,
"language": "en",
"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/11771347");
$data = json_decode($json, true);
var_dump($data);