Skip to content

Commit aa2306b

Browse files
committed
Added request options api function
1 parent 9511e0e commit aa2306b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

binance/client.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,11 @@ def _request_futures_coin_data_api(self, method, path, signed=False, version=1,
282282

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

285+
def _request_options_api(self, method, path, signed=False, **kwargs):
286+
uri = self._create_options_api_uri(path)
287+
288+
return self._request(method, uri, signed, True, **kwargs)
289+
285290
def _handle_response(self):
286291
"""Internal helper for handling API responses from the Binance server.
287292
Raises the appropriate exceptions when necessary; otherwise, returns the

0 commit comments

Comments
 (0)