RatingResponse

public class RatingResponse

The FCAS health index rating for a digital currency, or an error message if the API rejected the request.

Author

Sylvester Sefa-Yeboah

Since

1.0.0

Constructors

Link copied to clipboard
public void RatingResponse(String symbol, String name, String fcasRating, String fcasScore, String developerScore, String marketMaturityScore, String utilityScore, String lastRefreshed, String timeZone)
Creates a rating response from its already-parsed FCAS fields.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public String name
Link copied to clipboard
public String symbol
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Returns the developer-activity component of the FCAS score, on a scale of 0 to 1000, reflecting code contribution and developer community involvement.
Link copied to clipboard
Returns the error message the API returned, if the request failed.
Link copied to clipboard
Returns the FCAS (Fundamental Crypto Asset Score) categorical grade, for example "Attractive" or "Caution".
Link copied to clipboard
Returns the numeric FCAS (Fundamental Crypto Asset Score), on a scale of 0 to 1000.
Link copied to clipboard
Returns the date the rating was last refreshed.
Link copied to clipboard
Returns the market-maturity component of the FCAS score, on a scale of 0 to 1000, reflecting market-related fundamentals such as liquidity and trading activity.
Link copied to clipboard
public String getName()
Returns the digital currency's full name.
Link copied to clipboard
public String getSymbol()
Returns the digital currency's symbol.
Link copied to clipboard
Returns the time zone getLastRefreshed is expressed in.
Link copied to clipboard
Returns the utility component of the FCAS score, on a scale of 0 to 1000, reflecting user activity and network utilization.
Link copied to clipboard
public static RatingResponse of(Map<String, Object> stringObjectMap)
Parses a raw JSON response from the CRYPTO_RATING endpoint.
Link copied to clipboard
public String toString()