CryptoResponse

public class CryptoResponse

A digital currency time series response, holding the series as a list of CryptoUnit bars alongside its MetaData, or an error message if the API rejected the request.

Author

Sylvester Sefa-Yeboah

Since

1.0.0

Properties

Link copied to clipboard
public final List<CryptoUnit> cryptoUnits
Link copied to clipboard
public final String errorMessage
Link copied to clipboard
public final MetaData metaData

Functions

Link copied to clipboard
Returns the series of OHLCV bars for this response.
Link copied to clipboard
Returns the error message the API returned, if the request failed.
Link copied to clipboard
Returns the header metadata describing this series.
Link copied to clipboard
public static CryptoResponse of(Map<String, Object> stringObjectMap)
Parses a raw JSON response from a digital currency time series endpoint.
Link copied to clipboard
public String toString()