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

Public Member Functions

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)
 

Additional Inherited Members

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

Detailed Description

Simple price API client 

Member Function Documentation

def pyhodl.api.price.models.PricesApiClient.get_price (   self,
  coins,
  date_time,
  kwargs 
)
:param coins: [] of str
    List of coins
:param date_time: datetime
    Date and time to get price
:param kwargs: **
    Extra args
:return: {}
    Price of coins at specified date and time
def pyhodl.api.price.models.PricesApiClient.get_prices (   self,
  coins,
  kwargs 
)
:param coins: [] of str
    List of coins
:param kwargs: **
    Extra args
:return: [] of {}
    List of coin price
def pyhodl.api.price.models.PricesApiClient.get_prices_by_date (   self,
  coins,
  dates,
  kwargs 
)
:param coins: [] of str
    List of coins
:param dates: [] of datetime
    Dates and times to get price
:param kwargs: **
    Extra args
:return: [] of {}
    Price of coins at specified date and time

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