From a9baf8b5216dff27f59f0cf4cfb03ff282edb646 Mon Sep 17 00:00:00 2001 From: Peter Dyson Date: Fri, 24 Oct 2014 13:20:58 +1000 Subject: [PATCH] Bumping version for release. --- bin/example.py | 2 +- coinspot/coinspot.py | 2 +- example.py | 52 --------------------------------------- tests/CoinSpotTestCase.py | 2 +- tests/__init__.py | 2 +- tests/fixtures.py | 2 +- tests/helpers.py | 2 +- 7 files changed, 6 insertions(+), 58 deletions(-) delete mode 100644 example.py diff --git a/bin/example.py b/bin/example.py index f75cced..e28ea7a 100644 --- a/bin/example.py +++ b/bin/example.py @@ -8,7 +8,7 @@ # initialise the library client -client = CoinSpot(api_key="YOUR_API_KEY", api_secret="YOUR_API_SECRET") +client = CoinSpot() # get the spot prices print client.spot() diff --git a/coinspot/coinspot.py b/coinspot/coinspot.py index 40dda77..fb71e75 100644 --- a/coinspot/coinspot.py +++ b/coinspot/coinspot.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'Peter Dyson ' -__version__ = '0.2.1' +__version__ = '0.2.2' __license__ = 'GPLv3' __source__ = 'http://github.com/geekpete/py-coinspot-api/coinspot.py' diff --git a/example.py b/example.py deleted file mode 100644 index 4b2de13..0000000 --- a/example.py +++ /dev/null @@ -1,52 +0,0 @@ -#!/usr/bin/python -__author__ = 'Peter Dyson ' - -""" -Script to test the coinspot-api module. -""" - -from coinspot import Coinspot - - -#api_key = '' # Add your Coinspot API Key -#api_secret = '' # Add your Coinspot API Secret - - -api_key = '6a8bd271d0ee89598c01ffd93fe27788' -api_secret = 'MLD8F9WT4M7Q4RAKY5121A967TBG3LFJMMHF5XFDGVLT1JL2B5575XYHRV6YGKLTYRC9LL4QY4TPY4W97' - -# Test it out: -client = Coinspot(api_key, api_secret) - -# get the spot prices -print client.spot() -print client.spot() -print client.spot() -print client.spot() -print client.spot() -print client.spot() -print client.spot() -print client.spot() -print client.spot() -print client.spot() -print client.spot() -print client.spot() -print client.spot() - -# get your coin wallet balances -#print client.balances() - -# get the last 1000 orders for Dogecoins -#print client.orderhistory('DOGE') - -# get a list of all the current buy and sell orders -#print client.orders('DOGE') - -# put an order in to sell 20 Dogecoins at 0.000280 per coin -#print client.sell('DOGE', '20', '0.000280') - -# Get a quote on buying a billion Dogecoins, with estimation of timeframe -#print client.quotebuy('DOGE', 1000000000) - -# Donate a craptonne of Dogecoins to the author of this library! Much Appreciate!!! -#print client.send('DOGE', 'DJrHRxurwQoBUe7r9RsMkMrTxj92wXd5gs', 10000) \ No newline at end of file diff --git a/tests/CoinSpotTestCase.py b/tests/CoinSpotTestCase.py index fed6b25..c4b63bb 100644 --- a/tests/CoinSpotTestCase.py +++ b/tests/CoinSpotTestCase.py @@ -4,7 +4,7 @@ """CoinSpotTestCase.py: A bunch of unittests for testing this module.""" __author__ = 'Peter Dyson ' -__version__ = '0.2.1' +__version__ = '0.2.2' __license__ = 'GPLv3' __source__ = 'http://github.com/geekpete/py-coinspot-api/coinspot.py' diff --git a/tests/__init__.py b/tests/__init__.py index 6b0e541..643bccc 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'Peter Dyson ' -__version__ = '0.2.1' +__version__ = '0.2.2' __license__ = 'GPLv3' __source__ = 'http://github.com/geekpete/py-coinspot-api/coinspot.py' diff --git a/tests/fixtures.py b/tests/fixtures.py index 09fb3aa..a352f49 100644 --- a/tests/fixtures.py +++ b/tests/fixtures.py @@ -4,7 +4,7 @@ """fixtures.py: These are fixture functions for returning mocked api data.""" __author__ = 'Peter Dyson ' -__version__ = '0.2.1' +__version__ = '0.2.2' __license__ = 'GPLv3' __source__ = 'http://github.com/geekpete/py-coinspot-api/coinspot.py' diff --git a/tests/helpers.py b/tests/helpers.py index d5ad9d2..7137d39 100644 --- a/tests/helpers.py +++ b/tests/helpers.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'Peter Dyson ' -__version__ = '0.2.1' +__version__ = '0.2.2' __license__ = 'GPLv3' __source__ = 'http://github.com/geekpete/py-coinspot-api/coinspot.py'