Class FPC
java.lang.Object
com.astrolabsoftware.FinkBrowser.FinkPortalClient.FPC
FPC is a client for Fink Science Portal.- Author:
- J.Hrivnac
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate static Stringprivate static Stringprivate static org.apache.logging.log4j.LoggerLogging .private static Stringstatic SmallHttpClient -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanomaly(JSONObject request) Call Fink Science Portal anomaly Web Service.private JSONArraycall(JSONObject request, String endpoint) Call Fink Science Portal Web Service.latests(JSONObject request) Call Fink Science Portal latests Web Service.objects(JSONObject request) Call Fink Science Portal objects Web Service.
-
Field Details
-
shc
-
OBJECTS_WS
-
LATESTS_WS
-
ANOMALY_WS
-
_restUrl
-
log
Logging .
-
-
Constructor Details
-
FPC
Create for a survey.- Parameters:
survey- The survey: ZTF or LSST.- Throws:
LomikelException
-
-
Method Details
-
objects
Call Fink Science Portal objects Web Service. https://api.ztf.fink-portal.org/api/v1.- Parameters:
request- The requested formulated asJSONObject.endpoint- The service endpoint.- Returns:
- The answer formulated as
JSONArray. - Throws:
LomikelException- If call fails.
-
latests
Call Fink Science Portal latests Web Service. https://api.ztf.fink-portal.org/api/v1/latests.- Parameters:
request- The requested formulated asJSONObject.endpoint- The service endpoint.- Returns:
- The answer formulated as
JSONArray. - Throws:
LomikelException- If call fails.
-
anomaly
Call Fink Science Portal anomaly Web Service. https://api.ztf.fink-portal.org/api/v1/anomaly.- Parameters:
request- The requested formulated asJSONObject.endpoint- The service endpoint.- Returns:
- The answer formulated as
JSONArray. - Throws:
LomikelException- If call fails.
-
call
Call Fink Science Portal Web Service.- Parameters:
request- The requested formulated asJSONObject.endpoint- The service endpoint.- Returns:
- The answer formulated as
JSONArray. - Throws:
LomikelException- If call fails.
-