Skip to content

Commit

Permalink
Added request options api function
Browse files Browse the repository at this point in the history
  • Loading branch information
Ollie-Hooper committed Apr 7, 2021
1 parent 9511e0e commit aa2306b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions binance/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,11 @@ def _request_futures_coin_data_api(self, method, path, signed=False, version=1,

return self._request(method, uri, signed, True, **kwargs)

def _request_options_api(self, method, path, signed=False, **kwargs):
uri = self._create_options_api_uri(path)

return self._request(method, uri, signed, True, **kwargs)

def _handle_response(self):
"""Internal helper for handling API responses from the Binance server.
Raises the appropriate exceptions when necessary; otherwise, returns the
Expand Down

0 comments on commit aa2306b

Please sign in to comment.