API pentru us west proving grounds - Monthly Wipe
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 90,
"fps_avg": 88,
"entities_count": 230364,
"world_seed": 5545679,
"world_size": 6000,
"steam_id": "90286324930699265",
"domain": null,
"id": 11602183,
"ip": "207.204.56.202",
"port": 28017,
"query": 28018,
"color": 0,
"city": "Eagle Mountain",
"description": "mods: True PVE, auto door, better loot, death notes, info panel, map my airdrop, no radiation, night lantern, teleportation, recycle BPs, Sign Artist, Skip Night Vote and more",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779981823,
"last_online": 1780601438,
"icon": null,
"name": "us west proving grounds - Monthly Wipe",
"connect": "207.204.56.202:28017",
"request": "207.204.56.202:28018",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779359241,
"last_update": 1780601438,
"banned": false,
"wipe": 1778182285,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4714,
"language": "en",
"parked": false,
"app": {
"id": 12,
"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/11602183");
$data = json_decode($json, true);
var_dump($data);