Skip to content

Releases: cal-am/dotloop-python

Version 0.1.0

03 Mar 23:25

Choose a tag to compare

Notes

The main change in version 0.1.0 is the switch over to relying on the aiohttp.ClientSession instead of the requests library.

Additionally, all models can now be easily created without going through the idiomatic client.profile(...).loop(...).get()

Version 0.1.0 is incompatible with previous 0.0.X versions. All previous APIs have been moved to the blocking namespace. For example, the following import

from dotloop import Authenticate, Client

should now be

from dotloop.blocking import Authenticate, Client

The asynchronous API does not currently support the loop-it endpoint.

The asynchronous API will not create the aiohttp.ClientSession but asks that you bring your own.

Documentation will be released highlighting usage of the updated

v0.0.6

15 Sep 17:13
b0b39ff

Choose a tag to compare

Changes

Client

DEFAULT_PROFILE will select the user's first profile if user has not made a profile their default.

v0.0.5

18 Aug 22:30

Choose a tag to compare

Features

Client.DEFAULT_PROFILE

Added feature for quickly getting the user's default profile id. This is done by:

client = Client('access-token')
client.DEFAULT_PROFILE

This is useful in code such as this:

client.profile(client.DEFAULT_PROFILE).loop.get()

Note: Client.DEFAULT_PROFILE is a cached property. So, if the user's default profile changes after Client.DEFAULT_PROPERTY has already been fetched then this will not be reflected immediately. To reset Client.DEFAULT_PROFILE do:

del client.DEFAULT_PROFILE

and then fetch it again.