From b5cc28bc50334f4197cf80401572fabcf947bb2f Mon Sep 17 00:00:00 2001 From: Liran Ben Shabat Date: Mon, 8 Jun 2020 22:47:03 -0300 Subject: [PATCH] updated the get product endpoint seems like the endpoint was changed. solves issues #514 and #525 --- binance/client.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/binance/client.py b/binance/client.py index 432a53a3..cf85b2ca 100644 --- a/binance/client.py +++ b/binance/client.py @@ -257,8 +257,7 @@ def get_products(self): :raises: BinanceRequestException, BinanceAPIException """ - - products = self._request_website('get', 'exchange/public/product') + products = self._request_website('get', 'exchange-api/v1/public/asset-service/product/get-products') return products def get_exchange_info(self):