When gift is already collected, Kickbase API returns 500 not 400. This leads to an exception at the moment, as the method expects 200 or 400.
if r.status_code == 200: return True elif r.status_code == 500: return False else: raise KickbaseException()
When gift is already collected, Kickbase API returns 500 not 400. This leads to an exception at the moment, as the method expects 200 or 400.
if r.status_code == 200: return True elif r.status_code == 500: return False else: raise KickbaseException()