Skip to content

Commit

Permalink
Adding REST API to downloads page
Browse files Browse the repository at this point in the history
  • Loading branch information
svginc committed Sep 20, 2023
1 parent 6b811d5 commit 3e382fe
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions shinydashboard/lantern/modules/downloadsmodule.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@ downloadsmodule_UI <- function(id) {
downloadButton(ns("download_descriptions"), "Download Field Descriptions (CSV)", icon = tags$i(class = "fa fa-download", "aria-hidden" = "true", role = "presentation", "aria-label" = "download icon"))
)
),
fluidRow(
column(width = 12,
h2("REST API"),
style = "padding-bottom:10px;padding-top:10px",
p(HTML("This REST API [GET]<b> https://lantern.healthit.gov/api/daily/download </b> enables programmatic access
to download the daily Lantern data (available for download as a CSV above). The API will initiate
the download of the data in CSV format automatically. This can be used to program the
download for any purpose."))
)
),
fluidRow(
column(width = 12, style = "padding-top:50px",
htmlOutput(ns("note_text"))
Expand Down

0 comments on commit 3e382fe

Please sign in to comment.