public static NCDCResponse <NCDCDataCollection> GetDataForLocationTypeLocationAndDataType(string datasetName, string locationTypeId, string locationId, string dataTypeId, string token = null, NCDCOptions options = null) { token = token ?? NCDCUtilities.GetUnlockedToken(); var command = new ListDataCommand(token, options); command.BuildDatasetLocationTypeLocationDataTypeUri(datasetName, locationTypeId, locationId, dataTypeId); return(NCDCCommand <NCDCDataCollection> .PerformAction(command)); }
public static NCDCResponse <NCDCLocation> GetLocationInformation(string datasetName, string locationId, string token = null, NCDCOptions options = null) { token = token ?? NCDCUtilities.GetUnlockedToken(); var command = new ShowLocationCommand(datasetName, locationId, token, options); return(NCDCCommand <NCDCLocation> .PerformAction(command)); }
public static NCDCResponse <NCDCDatasetCollection> GetDataSets(string token = null, NCDCOptions options = null) { token = token ?? NCDCUtilities.GetUnlockedToken(); var command = new ListDatasetsCommand(token, options); return(NCDCCommand <NCDCDatasetCollection> .PerformAction(command)); }
public static NCDCResponse <NCDCDataType> GetDataTypeInformationForLocation(string datasetName, string locationId, string dataTypeId, string token = null, NCDCOptions options = null) { token = token ?? NCDCUtilities.GetUnlockedToken(); var command = new ShowDataTypesCommand(token, options); command.BuildDatasetsLocationsUri(datasetName, locationId, dataTypeId); return(NCDCCommand <NCDCDataType> .PerformAction(command)); }
public static NCDCResponse <NCDCDataTypeCollection> GetDataTypesForStation(string datasetName, string stationId, string token = null, NCDCOptions options = null) { token = token ?? NCDCUtilities.GetUnlockedToken(); var command = new ListDataTypesCommand(token, options); command.BuildDatasetsStationsUri(datasetName, stationId); return(NCDCCommand <NCDCDataTypeCollection> .PerformAction(command)); }
public static NCDCResponse <NCDCLocationTypeCollection> GetLocationTypes(string datasetName, string token = null, NCDCOptions options = null) { token = token ?? NCDCUtilities.GetUnlockedToken(); var command = new ListLocationTypesCommand(datasetName, token, options); return(NCDCCommand <NCDCLocationTypeCollection> .PerformAction(command)); }