MCPcopy Create free account
hub / github.com/ccxt/ccxt / request

Method request

python/ccxt/coinbaseexchange.py:2048–2053  ·  view source on GitHub ↗
(self, path, api='public', method='GET', params={}, headers=None, body=None, config={})

Source from the content-addressed store, hash-verified

2046 return None
2047
2048 def request(self, path, api='public', method='GET', params={}, headers=None, body=None, config={}):
2049 response = self.fetch2(path, api, method, params, headers, body, config)
2050 if not isinstance(response, str):
2051 if 'message' in response:
2052 raise ExchangeError(self.id + ' ' + self.json(response))
2053 return response

Callers

nothing calls this directly

Calls 3

ExchangeErrorClass · 0.90
fetch2Method · 0.45
jsonMethod · 0.45

Tested by

no test coverage detected