Skip to main content

PyOSTicket

Python client for os ticket

from pyosticket import OSTicketAPI, TicketModel

osticket = OSTicketAPI(url="URL", api_key="API-KEY")

# XXX Custom endpoints
osticket.ticket.all("email@email.com")
osticket.ticket.get("XXXXXXXXXXX", "email@email.com")

# create ticket
ticket = TicketModel(**{
    "name": "John Doe",
    "email": "johndoe@lorem.com",
    "subject": "Lorem Ipsum",
    "topicId": "1",
    "message": "data:text/html,Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam lobortis sagittis turpis vel bibendum. Nunc eget tincidunt leo. Suspendisse a nibh vulputate, ultrices leo mollis, maximus nisl.",
    "attachments": [{
        "filename.png": "data:image/png;base64,BASE64_ENCODED_IMAGE_HERE"
    }]
})
osticket.ticket.create(ticket)

Metadata

Release files for pyosticket 0.1.0

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

Source distribution (sdist)

Source distribution for pyosticket 0.1.0
File Size Uploaded Provenance Actions
pyosticket-0.1.0.tar.gz 9.5 kB Without provenance Details for pyosticket-0.1.0.tar.gz

Release files / pyosticket-0.1.0.tar.gz

Download URL pyosticket-0.1.0.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
11c843a34107dd96cd68f663f770f998e65e9cb2a1052597b20df9214b37b9f9
BLAKE2b-256 checksum
How to use checksums
f8236947cbd28235df968c8c3a9155ef4b8ff6c55a74b511ded43d2dd1077ada
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/36.5.0 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/2.7.15rc1

Security for pyosticket 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

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