base_url
, the server base url, defaults to https://www.labii.dev. If you are using a different data center, make sure to change the base_url
setting.email
and password
, the email or password to get authenticated. If no email or password is provided, a pop-up will appear.organization__sid
, your organization sid. You can find it by logging into Labii (https://www.labii.com/login/) and going to Side menu -> Settings -> Organization -> Sidapp
and model
(required), the app and object to limit the type of data in Labii. Learn more at https://docs.labii.com/api/overview#objects.level
(default to "organization"), the scope of records to retrieve. Learn more at https://docs.labii.com/api/overview#levels​sid
(default to "organization__sid"), the static and encrypted Labii object id. It has to match with level.serializer
(default to "list"), the scope of fields of the return data. Learn more at https://docs.labii.com/api/overview#serializer​query
(optional), additional query to limit the results.app
and model
(required), same as abovesid
(required), the sid of the object.query
(optional), passing additional parameters during querying.is_authorized
(default to True
), To use a header without authentication information, set is_authorized=False
.api.login()
api.login(email=xxx, password=xxx)
api.login()
first.url
(str), the URL to post. Generate a standard URL with get_list_url
.is_authorized
(default to True
), whether authorized tokens should be used.url
(str), the URL to post. Generate a standard URL with get_detail_url
.is_authorized
(default to True
), whether authorized tokens should be used.url
(str), the URL to post. Generate a standard URL with get_list_url
or get_detail_url
.all_pages
(bool, default=False), Whether all pages should be returned. When False, only return the data for the first page. Only applies to list views.is_authorized
(default to True
), whether authorized tokens should be used.url
(str), the URL to post. Generate a standard URL with get_detail_url
.is_authorized
(default to True
), whether authorized tokens should be used.