Shortcut Assistant
The JS API Client for Shortcut was autogenerated from Swagger and left a lot to be desired. It didn’t offer an obvious way to do things (from the Zen of Python) and each API action was a separate method on the primary client instance.
Enter my API Client alternative:
It offers a more Object-Oriented approach, where each resource has a different service branching off of the main client (ex. client.stories)
. Once you have an instance of some resource, the methods available on that resource are intuitive (want to leave a comment on a story? It’s as easy as story.comment
! Compare that to client.createStoryComment
)