API dla Pal-Ul-Don MONTHLY WIPES_Bots_ZLevels_Remove_tpr_ Airdrops
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 38,
"fps_avg": 37,
"entities_count": 62093,
"world_seed": 264297699,
"world_size": 4500,
"steam_id": "90286506779745293",
"domain": null,
"id": 11607441,
"ip": "103.1.213.126",
"port": 49025,
"query": 49026,
"color": 0,
"city": "Sydney",
"description": "TRY TO SURVIVE ? - Aggro bots, Angry Animals with Guardians, Meteors, Rads,Treasure Chests,BackPacks,Recycle, ENGLISH only server, NO PRIVATE PROFILES, NO ADVERTISING/RACISM in NAMES, Spawn modular cars and Heli's, Arm cars with turrets (server time reward), WIPED WIPED 8TH MAY HAVE FUN",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780605205,
"last_online": 1780473027,
"icon": null,
"name": "Pal-Ul-Don MONTHLY WIPES_Bots_ZLevels_Remove_tpr_ Airdrops",
"connect": "103.1.213.126:49025",
"request": "103.1.213.126:49026",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779915506,
"last_update": 1780605205,
"banned": false,
"wipe": 1778403559,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 12091,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11607441");
$data = json_decode($json, true);
var_dump($data);