Official Python client library for the airSlate API v1
Project description
airslate is a Python client library for the airSlate API v1.
This Python client library has been designed to quickly and easily implement the airSlate REST API. It offers a simple and elegant way to interact with airSlate API resources within your Python applications. Sign up for our API here: https://developers.airslate.com
Project Information
airslate is released under the Apache Licence 2.0, the code lives on GitHub, and the latest release on PyPI. It’s rigorously tested on Python 3.7+.
If you’d like to contribute to airslate you’re most welcome!
Support
Should you have any question, any remark, or if you find a bug, or if there is something you can’t do with the airslate, please open an issue.
Release Information
3.0a1 (2021-02-18)
Features
Provided ability to get and assign Tags for a given Slate.
Provided ability to get and update Fields for a given Document.
Introduced airslate.exceptions.NotFoundError to raise from client when the server can not find the requested resource.
Introduced airslate.facades facade module to provide an easy to access API resources:
client.addons.auth() - get access token for an Addon installed in an Organization
client.addons.files.get() - get the requested Slate Addon File
client.addons.files.download() - download contents of the requested Slate Addon File
client.documents.fields() - get Fields for a given Document
client.documents.update_fields() - update Fields for a given Document
client.flows.documents.collection() - get supported Documents for a given Flow
client.slates.tags.assign() - assign Tags to a given Slate
client.slates.tags.collection() - get all Slate Tags for a given Flow
Entity attributes are now accessible via dot notation, i.e. entity['id'] is the same as entity.id.
Implement airslate.entities.base.BaseEntity.to_dict() to convert entities to a dictionary.
Implement airslate.entities.base.BaseEntity.__getstate__() as well as airslate.entities.base.BaseEntity.__setstate__() to provide ability to persist and load entities state.
Implement airslate.client.Client.patch() to send PATCH requests.
Breaking Changes
Moved client.addons.access_token() client.addons.auth() facade.
Moved client.slate_addon_files to client.addons.files() facade.
Moved client.flow_documents to client.flows.documents() facade.
BaseEntity.set_attributes() from airslate.entities.base module has been removed. Users are recommended to use entity.attributes.update(dict).
BaseEntity.original_included from airslate.entities.base module has been removed.
Bug Fixes
Fixed included parsing for BaseEntity.from_one and BaseEntity.from_collection when call filter_included.
Trivial/Internal Changes
Provided utils utility module for be use within airslate package:
airslate.client.Client.DEFAULT_HEADERS was moved to airslate.utils.default_headers()
airslate.session.USER_AGENT was moved to airslate.utils.default_user_agent()
Credits
airslate is written and maintained by airSlate.
A full list of contributors can be found in GitHub’s overview.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for airslate-0.3.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17449c04e761cb5240dcb630ecb01f5918ad83a8988bfc88f2a96f43109d831b |
|
MD5 | 56d75b5680b3aa9253f4b68af4082bcf |
|
BLAKE2b-256 | 68e635f2e27b1fa3d0f5f6942382cac669e18b90cbd3f636d7364824aa4e8ac9 |