mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
parent
56c94153ff
commit
1c0e23c8b9
2 changed files with 2 additions and 30 deletions
|
@ -798,14 +798,5 @@
|
|||
"RUB",
|
||||
"USD"
|
||||
],
|
||||
"itBit": [],
|
||||
"Bitbank": [
|
||||
"JPY"
|
||||
],
|
||||
"Bitflyer": [
|
||||
"JPY"
|
||||
],
|
||||
"Zaif": [
|
||||
"JPY"
|
||||
]
|
||||
"itBit": []
|
||||
}
|
|
@ -159,19 +159,6 @@ class BitcoinVenezuela(ExchangeBase):
|
|||
return self.get_json('api.bitcoinvenezuela.com',
|
||||
"/historical/index.php?coin=BTC")[ccy +'_BTC']
|
||||
|
||||
class Bitbank(ExchangeBase):
|
||||
|
||||
def get_rates(self, ccy):
|
||||
json = self.get_json('public.bitbank.cc', '/btc_jpy/ticker')
|
||||
return {'JPY': Decimal(json['data']['last'])}
|
||||
|
||||
|
||||
class BitFlyer(ExchangeBase):
|
||||
|
||||
def get_rates(self, ccy):
|
||||
json = self.get_json('bitflyer.jp', '/api/echo/price')
|
||||
return {'JPY': Decimal(json['mid'])}
|
||||
|
||||
|
||||
class Bitmarket(ExchangeBase):
|
||||
|
||||
|
@ -363,12 +350,6 @@ class Winkdex(ExchangeBase):
|
|||
for h in history])
|
||||
|
||||
|
||||
class Zaif(ExchangeBase):
|
||||
def get_rates(self, ccy):
|
||||
json = self.get_json('api.zaif.jp', '/api/1/last_price/btc_jpy')
|
||||
return {'JPY': Decimal(json['last_price'])}
|
||||
|
||||
|
||||
def dictinvert(d):
|
||||
inv = {}
|
||||
for k, vlist in d.items():
|
||||
|
|
Loading…
Add table
Reference in a new issue