ZEDGR / pychallonge

Python Module for the CHALLONGE API
https://challonge.com/api
BSD 2-Clause "Simplified" License
44 stars 11 forks source link

Ensure every API call has a response #14

Open CapnRedB opened 3 years ago

CapnRedB commented 3 years ago

I might be missing something but in all but your GET requests, you don't send back any response. There is still useful information in the response for PUT and POST requests that at the very least would eliminate having to run a second API call to get the information and confirm what you sent.

Also always returning a response at least let's you write error handling if the PUT/POST fails or returns something you don't expect.