Skip to content

Commit 2210e21

Browse files
committed
fix: HTTP 요청 파라미터 이름 변경 반영
- 일부 camelCase 이름을 snake_case 로 변경 - 두 이름 모두 응답에는 영향 없음 - 업비트 API 공식 문서 변경에 따라 반영함
1 parent 0ad5199 commit 2210e21

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

upbit/upbit.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1643,7 +1643,7 @@ def get_markets(self,
16431643
"""
16441644
url = self._endpoint + "/market/all"
16451645
params = {
1646-
"isDetails": is_detail,
1646+
"is_details": is_detail,
16471647
}
16481648

16491649
return self._request('get', url, params=params, **kwargs)
@@ -1795,7 +1795,7 @@ def get_candles_day(self,
17951795
"market": market,
17961796
"to": to,
17971797
"count": count,
1798-
"convertingPriceUnit": converting_price_unit,
1798+
"converting_price_unit": converting_price_unit,
17991799
}
18001800

18011801
return self._request('get', url, params=params, **kwargs)
@@ -1992,7 +1992,7 @@ def get_trades_ticks(self,
19921992
"to": to,
19931993
"count": count,
19941994
"cursor": cursor,
1995-
"daysAgo": days_ago,
1995+
"days_ago": days_ago,
19961996
}
19971997

19981998
return self._request('get', url, params=params, **kwargs)
@@ -2106,7 +2106,7 @@ def get_tickers_by_quote(self,
21062106
"""
21072107
url = self._endpoint + "/ticker/all"
21082108
params = {
2109-
"quoteCurrencies": quotes,
2109+
"quote_currencies": quotes,
21102110
}
21112111

21122112
return self._request('get', url, params=params, **kwargs)

0 commit comments

Comments
 (0)