PagerDuty / pdpyras

Low-level PagerDuty REST/Events API client for Python
MIT License
130 stars 30 forks source link

Basic auto-JSON w/o unpack for experimental endpoints #5

Closed Deconstrained closed 5 years ago

Deconstrained commented 5 years ago

To give developers the option of using functions that return JSON in all cases, there should be a set of functions that don't bother unpacking the object from the envelope, but that at least return the JSON and raise an exception if there's a HTTP error. This will make it easier to work with unconventional / early-access / experimental endpoints.