Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many functions, yet little automation #90

Open
DeadDude-glitch opened this issue Dec 22, 2023 · 0 comments
Open

Many functions, yet little automation #90

DeadDude-glitch opened this issue Dec 22, 2023 · 0 comments

Comments

@DeadDude-glitch
Copy link

DeadDude-glitch commented Dec 22, 2023

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

@DeadDude-glitch DeadDude-glitch changed the title Too many functions, too little automation Many functions, yet little automation Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant