Depravity Hardcore PVE Monthly için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 107274,
"world_seed": 0,
"world_size": 4250,
"steam_id": "90286559899676696",
"domain": null,
"id": 11596662,
"ip": "104.4.53.1",
"port": 28018,
"query": 28020,
"color": 0,
"city": "Jackson",
"description": "\nModified ProgressionnModified WeaponsnModified AmmonScarce ComponentnNPC RaidersnRaidable BasesnPlay for Survival and Build for DefensenAll of the surface water has been PoisonednMost of the animals are deadnPlayer dependent economynYou will not be at end game in three daysnIf you like the grind, this is the place.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780319053,
"last_online": 1780547427,
"icon": null,
"name": "Depravity Hardcore PVE Monthly",
"connect": "104.4.53.1:28018",
"request": "104.4.53.1:28020",
"map": "Depravity",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 1,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1779358595,
"last_update": 1780547427,
"banned": false,
"wipe": 1778177122,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1495,
"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/11596662");
$data = json_decode($json, true);
var_dump($data);