Skip to main content

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


Download files

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

Source Distribution

sanauautomationsdk-1.0.3.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sanauautomationsdk-1.0.3-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file sanauautomationsdk-1.0.3.tar.gz.

File metadata

  • Download URL: sanauautomationsdk-1.0.3.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.3

File hashes

Hashes for sanauautomationsdk-1.0.3.tar.gz
Algorithm Hash digest
SHA256 fc784e4a21a108374735e3bbac1829406623863c58bcd3c4fdc54fb58b2f42f4
MD5 61d33037a2a4411e2c96656e3032a03d
BLAKE2b-256 aa8fa7d6d08b76477a7f585c68b22281634a21a4259cfbac5755097963f3d2cb

See more details on using hashes here.

File details

Details for the file sanauautomationsdk-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for sanauautomationsdk-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 38bb804427bec9b2e6e34b9c643b6ead5d3c4b7650f3e816139c285eb160e397
MD5 c66e73e37a2ddad8a6ce03fb5dba44c7
BLAKE2b-256 774bf11622f0244678695280d02afeb69fa11ac3e1deb4e1b6007cfeb0554399

See more details on using hashes here.

Supported by

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