Class FinancialMarketsStatisticsKeyFiguresClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.financialmarkets.statistics.keyfigures.FinancialMarketsStatisticsKeyFiguresClient
-
public class FinancialMarketsStatisticsKeyFiguresClient extends AbstractClient
Client which handles financial markets statistics key figures data fetching.
- Since:
- 0.5.0
-
-
Constructor Summary
Constructors Constructor Description FinancialMarketsStatisticsKeyFiguresClient()Default constructor.FinancialMarketsStatisticsKeyFiguresClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getKeyFigures()Fetch all key figures data.List<ResponseModel>getKeyFigures(Collection<String> keyFigures, Collection<String> months)Fetch all key figures data which match the input constraints.URLEndpointgetUrl()Returns the URL endpoint which this client represents.-
Methods inherited from class com.github.dannil.scbjavaclient.client.AbstractClient
doGetRequest, doPostRequest, getCommunicationProtocol, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, setCommunicationProtocol, setLocale, setLocalizationLocale
-
-
-
-
Constructor Detail
-
FinancialMarketsStatisticsKeyFiguresClient
public FinancialMarketsStatisticsKeyFiguresClient()
Default constructor.
-
FinancialMarketsStatisticsKeyFiguresClient
public FinancialMarketsStatisticsKeyFiguresClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getKeyFigures
public List<ResponseModel> getKeyFigures()
Fetch all key figures data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getKeyFigures(Collection, Collection)
-
getKeyFigures
public List<ResponseModel> getKeyFigures(Collection<String> keyFigures, Collection<String> months)
Fetch all key figures data which match the input constraints.
- Parameters:
keyFigures- the key figuresmonths- the months- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getUrl
public URLEndpoint getUrl()
Description copied from class:AbstractClientReturns the URL endpoint which this client represents.
- Specified by:
getUrlin classAbstractClient- Returns:
- the URL endpoint for this client
-
-