v1.0.0
This release brings a proper API Client that automatically manages SID renewals.
Features
- Stateful API Client
FritzApi.Client(in addition to the existingFritzApiinterface) - Include block time in error tuple if the login failed
- Improved Docs and README
Breaking
- switch
modeis now an atom instead of a string (e.g.:manual) - switch
state,presentare now boolean values instead of atoms get_device_list_infosnow returns a list of%FritzApi.Actor{}structsFritzApi.Actorproperties that are unknown are now always represented asnil- ff the requested actor information is unknown the tuple
{:ok, nil}gets returned (instead of{:error, :unknown}