API dla Sivilic Main | MONTHLY
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 45,
"fps_avg": 44,
"entities_count": 97401,
"world_seed": 1194759937,
"world_size": 3750,
"steam_id": "90286590717309967",
"domain": null,
"id": 763252,
"ip": "95.214.180.215",
"port": 28015,
"query": 28017,
"color": 0,
"city": "City of London",
"description": "\n|> Sivilic Vanilla | MONTHLY | [Friendly|Low Upkeep|Monthly|8 MAX] <|\n\nTop Notch, Lag-free server performance, 99% Uptime.\n\nThe last wipe was on Thursday 7/5\nThe next wipe will be on Thursday 4/6 (28 day wipe schedule)\nThe map size is 3750 and the seed is 1194759937\n\nFeatures on our server:\n|➤ MAX TEAM LIMIT: 8\n|➤ Fully Vanilla: Un-Modified Gameplay\n|➤ Monthly Wipes: Map AND BP's Wipe monthly at first thursday of every Month.\n|➤ Low Upkeep: Very low upkeep (0.2) to allow you to focus on other things!\n|➤ Very Friendly and Active Players to help assist you\n|➤ Active, Friendly Admins avaliable 24/7 via discord\n\nWipe Sched: Map and BP Monthly @ Forcewipe (First thursday of every month).\n\n|-> Our Discord - https://discord.gg/5pcHJqkqum <-|\n|-> Our Website - sivilic.net <-|\n\n(Server restarts daily @ 5am CET)\n\n|-> Sivilic 2023 <-|",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595664,
"last_online": 1780580438,
"icon": null,
"name": "Sivilic Main | MONTHLY",
"connect": "95.214.180.215:28015",
"request": "95.214.180.215:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1680789968,
"last_update": 1780595664,
"banned": false,
"wipe": 1778176620,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 9990,
"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/763252");
$data = json_decode($json, true);
var_dump($data);