Skip to content

Commit

Permalink
Rename get_marketsummary to get_market_summary (#134)
Browse files Browse the repository at this point in the history
* Rename get_marketsummary to get_market_summary

* Bump version to 0.3.0
  • Loading branch information
siderealex authored and ericsomdahl committed Jan 28, 2018
1 parent 97f33cd commit 196a8bd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bittrex/bittrex.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions bittrex/test/bittrex_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit 196a8bd

Please sign in to comment.