summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid McMackins II <contact@mcmackins.org>2015-08-24 06:30:27 -0500
committerDavid McMackins II <contact@mcmackins.org>2015-08-24 06:30:27 -0500
commit67b2d8a1d4686c149e1530018046266cd39c2199 (patch)
tree507bd0200750596983fd28d81267d5c1daa5af0d
parentba9783e8a0ab3c048b6b6a869ab8ce961ec325b6 (diff)
Added BTC-E plugin
-rw-r--r--plugins/btc-e.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/btc-e.py b/plugins/btc-e.py
new file mode 100644
index 0000000..ae7ef5e
--- /dev/null
+++ b/plugins/btc-e.py
@@ -0,0 +1,21 @@
+##
+## coinfetch-api-btce - BTC-E API plugin for coinfetch
+## Copyright (C) 2015 Delwink, LLC
+##
+## This program is free software: you can redistribute it and/or modify
+## it under the terms of the GNU Affero General Public License as published by
+## the Free Software Foundation, version 3 only.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU Affero General Public License for more details.
+##
+## You should have received a copy of the GNU Affero General Public License
+## along with this program. If not, see <http://www.gnu.org/licenses/>.
+##
+
+from coinfetch import register_ticker, Ticker
+
+register_ticker('btc-e', 'The BTC-E ticker',
+ Ticker('https://btc-e.com/api/3/ticker/'))