From 196a8bd09d27273a2aeb1abe615b47b8fadad5f8 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 27 Jan 2018 19:21:53 -0800 Subject: [PATCH] Rename get_marketsummary to get_market_summary (#134) * Rename get_marketsummary to get_market_summary * Bump version to 0.3.0 --- bittrex/bittrex.py | 2 +- bittrex/test/bittrex_tests.py | 4 ++-- setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bittrex/bittrex.py b/bittrex/bittrex.py index 6a4d629..b0d1fc9 100644 --- a/bittrex/bittrex.py +++ b/bittrex/bittrex.py @@ -245,7 +245,7 @@ def get_market_summaries(self): API_V2_0: '/pub/Markets/GetMarketSummaries' }, protection=PROTECTION_PUB) - def get_marketsummary(self, market): + def get_market_summary(self, market): """ Used to get the last 24 hour summary of all active exchanges in specific coin diff --git a/bittrex/test/bittrex_tests.py b/bittrex/test/bittrex_tests.py index a05b00b..90f5bde 100644 --- a/bittrex/test/bittrex_tests.py +++ b/bittrex/test/bittrex_tests.py @@ -125,8 +125,8 @@ def test_get_market_summaries(self): test_basic_response(self, actual, "get_market_summaries") def test_get_market_summary(self): - actual = self.bittrex.get_marketsummary(market='BTC-LTC') - test_basic_response(self, actual, "get_marketsummary") + actual = self.bittrex.get_market_summary(market='BTC-LTC') + test_basic_response(self, actual, "get_market_summary") def test_get_orderbook(self): actual = self.bittrex.get_orderbook('BTC-LTC') diff --git a/setup.py b/setup.py index 1a5452d..1ed292a 100755 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup(name='python-bittrex', - version='0.2.2', + version='0.3.0', url="https://github.com/ericsomdahl/python-bittrex", packages=['bittrex'], modules=['bittrex'],