snowhite v2.1.3 API Reference

Modules

Finnhub client.

Polls a given list of feeds in parrallel.

This module is meant to be used to define profile set. This module generates some convenience modules.

Represents modules disposition on a 3 by 3 layout. Modules are registered as {module, args}.

The module builder is the one responsible for building modules. It's basically a wrapper over Phoenix's LiveView but with some extra sugar.

Builds a month calendar from a given date.

Helper module to write milliseconds in a readable way. The goal of this module is help you quickly remember what milliseconds time you set instead of having to decode it yourself. Let's be honest, it's easier to understand 1h 30m and 10seconds than 5410000m than 5410000ms.

Atomic clock server that syncs the time between clock modules.

Adapter for a given news feed. By default when you use the News module, it uses the RSS adapter because it assumes that the news feed you provided is a RSS feed.

The JSON adapter can be used to fetch JSON endpoints. It must have a item_mapper to know how each fields are mapped since every JSON endpoints behaves differently. It also supports couples of HTTP options to customize the underlying HTTPoison.request/5 call.

Implements RSS feed lookup. The Feeds must have the following properties

News Feed structure

Symbol for the stock market module. Adapters needs to convert payloads the the module below in order for them to be correctly displayed

Provide current days sunset and next day's sunrise.

Shortens url using a given url shortener and keeps the value persisted in a dets table

Handles view logic of the rendered page for a given Profile.