Skip to main content

atrest

About

This library is a very basic tool to submit tickets to an Autotask help desk.


Usage

Initialize the Client class, providing the following parameters:

Here is an example implementation:

from atrest import Client

def submit_ticket():
    atclient = Client(
        "https://webservices15.autotask.net/atservicesrest/v1.0",
        "<api_integration_code>,
        "<api_user>",
        "<api_secret>"
    )

    ticket_title = "Major Issue!"
    ticket_desc = """
    There was a major issue.

    You should definitely check it out!
    """

    try:
        ticket_id = atclient.create_ticket(
            ticket_title,
            ticket_desc,
            status=1,
            priority=1,
            company_id=0,
            queue_id=29682833
        )
        print(f"Ticket successfully sent. Ticket ID: {ticket_id}")
    except Exception as e:
        raise e

Metadata

Release files for atrest 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for atrest 1.0.2
File Size Uploaded
atrest-1.0.2.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for atrest 1.0.2
File Interpreter ABI Platform
atrest-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 11.2 kB

Release files / atrest-1.0.2.tar.gz

Download URL atrest-1.0.2.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
aa91617d94646db465f2b47e9bf241fd627941bdd41b66278919fc54abac17e5
BLAKE2b-256 checksum
How to use checksums
aea32041b2d2c0db9d1ef1b5430afc4465bd8e2887dc0f9ddc4651a1a9ba414e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.6

Release files / atrest-1.0.2-py3-none-any.whl

Download URL atrest-1.0.2-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
62752e62b4c5e0def4b1ecb198b816426bd4d2209caee9ff6deefb14b3eefac3
BLAKE2b-256 checksum
How to use checksums
3ed088751402cf25b56ee742dc4e1fa1e77b742491fe563fa242da39a9ef9a8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.6

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.6

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page