Skip to main content

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()

Full changelog.

Credits

airslate is written and maintained by airSlate.

A full list of contributors can be found in GitHub’s overview.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airslate-0.3.0a1.tar.gz (31.2 kB view hashes)

Uploaded Source

Built Distribution

airslate-0.3.0a1-py3-none-any.whl (25.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page