Rusty Farms Cina için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 59,
"fps_avg": 58,
"entities_count": 94234,
"world_seed": 1,
"world_size": 4000,
"steam_id": "90286487404816408",
"domain": null,
"id": 8622601,
"ip": "89.213.214.37",
"port": 28075,
"query": 28076,
"color": 0,
"city": "Ashburn",
"description": "\nWelcome to the Garden of thanos./No Decay/No BP Wipes/5 Minute hacks/Mini Spawns/No vendor stock limit farm and be rewarded/Monthly wipe on first thursday of the month at 1400 EST/ Active Playing Admin while server is in development.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780470420,
"last_online": 1780582837,
"icon": null,
"name": "Rusty Farms Cina",
"connect": "89.213.214.37:28075",
"request": "89.213.214.37:28076",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1745082559,
"last_update": 1780582837,
"banned": false,
"wipe": 1780308986,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3275,
"language": "en",
"parked": false,
"app": {
"id": 252490,
"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/8622601");
$data = json_decode($json, true);
var_dump($data);