Commit 75c883a8 authored by Jean-Marie Lepioufle's avatar Jean-Marie Lepioufle
Browse files

structured response

parent 881a50f5
......@@ -9,6 +9,7 @@ Depends:
R (>= 3.2.3)
Imports:
utils,
httr,
rapiclient
Remotes: git::git@git.nilu.no:rextapi/rapiclient.git
Suggests:
......
......@@ -36,50 +36,62 @@ api_object <- function(...){
getRainfallIDF <- function(...) {
res <- operations$getRainfallIDF(...)
res <- httr::content(res)
return(res)
}
getRainfallIDFSources <- function(...) {
res <- operations$getRainfallIDFSources(...)
res <- httr::content(res)
return(res)
}
getRecordsgetClimateNormals <- function(...) {
res <- operations$getRecordsgetClimateNormals(...)
res <- httr::content(res)
return(res)
}
getAvailable <- function(...) {
res <- operations$getAvailable(...)
res <- httr::content(res)
return(res)
}
getLocations <- function(...) {
res <- operations$getLocations(...)
res <- httr::content(res)
return(res)
}
timeSeries <- function(...) {
res <- operations$timeSeries(...)
res <- httr::content(res)
return(res)
}
quality <- function(...) {
res <- operations$quality(...)
res <- httr::content(res)
return(res)
}
availableQualityCodes <- function(...) {
res <- operations$availableQualityCodes(...)
res <- httr::content(res)
return(res)
}
observations <- function(...) {
res <- operations$observations(...)
res <- httr::content(res)
return(res)
}
getSources <- function(...) {
res <- operations$getSources(...)
res <- httr::content(res)
return(res)
}
getElements <- function(...) {
res <- operations$getElements(...)
res <- httr::content(res)
return(res)
}
getCodeTables <- function(...) {
res <- operations$getCodeTables(...)
res <- httr::content(res)
return(res)
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment