Skip to content

Many functions, yet little automationΒ #90

@DeadDude-glitch

Description

@DeadDude-glitch

Thank You

I revised all the code to make sure nothing is malicious there, thanks guys for the great work as it helped me too much!

Idea / Issue / Suggestion

Creating functions to cover the each API endpoint features is great, and I was able to utilize this to automate a lot of my work, yet I am afraid that it's not simple for usage. we are missing abstraction.

For example lets say you need to get a ticket, the ticket's notes, and description. You simply cannot:

api = TicketAPI("your_url.com")
ticket = api.get_ticket("some_ticket_id")
print(ticket.description)
print(ticket.comments)

but you have to interact with each API, to request these data over the internet and rebuild/collect all the data you wanted about the ticket in a python object.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions