FocusAtWillEx
An unofficial API client for Focus@Will.com
Installation
If available in Hex, the package can be installed
by adding focus_at_will_ex to your list of dependencies in mix.exs:
def deps do
[
{:focus_at_will_ex, "~> 0.1.0"}
]
endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/focus_at_will_ex.
Client: Raw HTTP communication Session: Authentication state management
Player: Business logic for playback
Config: Configuration management
Create a session
= FocusAtWillEx.Session.new(email, password)
Set a channel
= FocusAtWillEx.Channels.get_channel(3104)
Fetch "track" for channel
= FocusAtWillEx.Client.fetch_sequence_track(session, channel, 0, 0)