Request and Response function

NAble._requester(mode, endpoint, rawParams=None)

Make requests to NAble API and do basic response handling. Also handles errors.

Parameters:
  • mode (str) – Request mode [get,post,delete]

  • endpoint (str) – API endpoint URL

  • rawParams (dict, optional) – Parameters, copied from .local()

Returns:

Partially formatted API response

Return type:

dict

Parameter formatter