SDK that simplifies work with outsourcing
Project description
Sanau Automation SDK
This is package for python that you can install by:
pip install SanauAutomationSDK
Quick start
from SanauAutomationSDK import SanauAutomationSDK # import the library
sasdk = SanauAutomationSDK(region, domain, access_key) # create an object of class
sasdk.client.get_databases()
SanauAutomationSDK simplifies work with the outsourcing API.
Thanks to this library, you only have to write the functions you need without writing additional wrapper and logic. Everything is already written for you.
Documentation
SanauAutomationSDK(region, domain, access_key)
- region - country in which outsourcing operates
- domain - domain of outsourcing
- access_key - access_key for outsourcing API
SanauAutomationSDK has several classes:
- Api
- Client
- FileVault
- OGD
And each of these classes has functions for working with APIs specific to them
Api class provides work with APIs that are in no way related to specific outsourcing
| Method | Explanation |
|---|---|
get_currency_rates(currency_date) |
gets currency rates at specific date |
get_domains() |
gets all sanau domains |
Client class provides work with APIs that are in no way related to specific outsourcing
| Method | Explanation |
|---|---|
get_databases() |
gets all databases that outsourcing contains |
get_db_employees(db_name) |
gets employees of a specific database |
post_alerts(params) |
posts alerts |
post_taxation_organ(out_dict) |
posts taxation organ |
resole_alert(params) |
deletes specific alert |
resolve_all_alerts(entity_id, keys) |
deletes all alerts of specific database |
FileVault class provides work with file vault
| Method | Explanation |
|---|---|
get_file(params) |
gets specific file from file vault |
OGD class provides work with OGD
| Method | Explanation |
|---|---|
get_ogd_excel() |
gets excel of ogd |
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sanauautomationsdk-1.0.1.tar.gz.
File metadata
- Download URL: sanauautomationsdk-1.0.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c97c1965a35c6f08f3cd41cdd64b3add7500ffbef1594a8f597fc748304a3385
|
|
| MD5 |
3d4f3fcb509e9a932f39e7ea5818813f
|
|
| BLAKE2b-256 |
9993537f195bdc82d0061effb2dfdb4c112b9b0e15cb25669b4d5f55f14c1bce
|
File details
Details for the file sanauautomationsdk-1.0.1-py3-none-any.whl.
File metadata
- Download URL: sanauautomationsdk-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c56b7b8084b5298ed8ae32bb4078269466846a797a36b6535c362ab984563695
|
|
| MD5 |
dbe48f0b650df7c1ef35f515383f7d78
|
|
| BLAKE2b-256 |
9017e4b9ff113a0deef0d5e143b7c8284852d6215cf14e2afa5d8993ee055eb1
|