API dla Noisy Neighbors Monthly |5x|Loot+|Kits|+MANY more
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 102,
"fps_avg": 96,
"entities_count": 117422,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90286605644637205",
"domain": null,
"id": 1014333,
"ip": "64.90.86.43",
"port": 28017,
"query": 28015,
"color": 0,
"city": "Brainerd",
"description": "\nNoisy Neighbors 5x Server\r\nCome in and join others in either being that Neighbor that just can't keep quiet, or be the force that quiets them down!\r\n\r\n Monthly Wipe (Last Wiped 6/4) (Next Wipe 7/2)\r\n\r\n5X Stone/Metal/HQ -- 2.5x Sulfur -- Faster Crafting -- Kits -- Shop --\r\nBasic Skin Box is Free Here! (/skin)\r\n-- Clans -- Trade -- Homes -- TP -- zLevels -- Skills -- Backpack(No Drop) --\r\nLeaderboards with titles and much more!\r\nSkills that upgrade your experience/unlock new features and never wipe! \r\nEarn $20,000 Per Hour Played! (In-Game Cash)\r\n \r\nCustom Built NPC Raidable bases you won't find on any other server!\r\n VIP Available @ discord.gg/4wsCehCphE \r\n*** BACKPACKS DO NOT DROP ON DEATH ***",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780600466,
"last_online": 1780608029,
"icon": null,
"name": "Noisy Neighbors Monthly |5x|Loot+|Kits|+MANY more",
"connect": "64.90.86.43:28017",
"request": "64.90.86.43:28015",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 4,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1685046072,
"last_update": 1780608029,
"banned": false,
"wipe": 1780600878,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2215,
"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/1014333");
$data = json_decode($json, true);
var_dump($data);