PyHodl  0.2.7
Framework to download, update, analyze and plot your crypto-transactions. Completely off-line and security-oriented.
pyhodl.api.price.cryptonator.CryptonatorClient Class Reference
Inheritance diagram for pyhodl.api.price.cryptonator.CryptonatorClient:
Collaboration diagram for pyhodl.api.price.cryptonator.CryptonatorClient:

Public Member Functions

def __init__ (self, base_url=BASE_URL, tor=False)
 
def download (self, url)
 
def get_price (self, coins, date_time, kwargs)
 
- Public Member Functions inherited from pyhodl.api.price.models.PricesApiClient
def get_price (self, coins, date_time, kwargs)
 
def get_prices_by_date (self, coins, dates, kwargs)
 
def get_prices (self, coins, kwargs)
 
- Public Member Functions inherited from pyhodl.api.models.AbstractApiClient
def __init__ (self, base_url)
 
- Public Member Functions inherited from pyhodl.logs.Logger
def __init__ (self)
 
def log (self, content)
 
- Public Member Functions inherited from pyhodl.api.models.TorApiClient
def __init__ (self, tor=False)
 
def download (self, url)
 

Static Public Attributes

string BASE_URL = "https://api.cryptonator.com/api/ticker/"
 
dictionary API_ENCODING
 
dictionary API_DECODING
 

Additional Inherited Members

- Public Attributes inherited from pyhodl.api.models.AbstractApiClient
 base_url
 
- Public Attributes inherited from pyhodl.logs.Logger
 class_name
 
- Public Attributes inherited from pyhodl.api.models.TorApiClient
 tor
 

Detailed Description

Get cryptonator.com APIs data 

Constructor & Destructor Documentation

def pyhodl.api.price.cryptonator.CryptonatorClient.__init__ (   self,
  base_url = BASE_URL,
  tor = False 
)

Member Function Documentation

def pyhodl.api.price.cryptonator.CryptonatorClient.download (   self,
  url 
)
def pyhodl.api.price.cryptonator.CryptonatorClient.get_price (   self,
  coins,
  date_time,
  kwargs 
)

Member Data Documentation

dictionary pyhodl.api.price.cryptonator.CryptonatorClient.API_DECODING
static
Initial value:
1 = {
2  val: key for key, val in API_ENCODING.items()
3  }
dictionary pyhodl.api.price.cryptonator.CryptonatorClient.API_ENCODING
static
Initial value:
1 = {
2  "IOTA": "IOT",
3  "WAV": "WAVES"
4  }
string pyhodl.api.price.cryptonator.CryptonatorClient.BASE_URL = "https://api.cryptonator.com/api/ticker/"
static

The documentation for this class was generated from the following file: