Description Usage Arguments Details Value Examples
View source: R/NASA_Image_Video.R
Use this API(function) to access the NASA Image and Video Library site at http://images.nasa.gov.
1 2 3 4 5 |
endpoint |
String. There are four possible endpoints: "search" (Performing a search), "asset" (Retrieving a media asset’s manifest), "metadata" (Retrieving a media asset’s metadata location), "captions" (Retrieving a video asset’s captions location). |
nasa_id |
String. The media asset's NASA ID. Necessary when endpoint is "asset" or "metadata" or "captions". |
q |
String. Free text search terms to compare to all indexed metadata. Necessary when endpoint is "search". |
center |
String. NASA center which published the media. Optional. |
description |
String. Terms to search for in “Description” fields. Optional. |
description_508 |
String. Terms to search for in “508 Description” fields. Optional. |
keywords |
String. Terms to search for in “Keywords” fields. Separate multiple values with commas. Optional. |
location |
String. Terms to search for in “Location” fields. Optional. |
media_type |
String. Media types to restrict the search to. Available types: “image”, “audio”. Separate multiple values with commas. Optional. |
page |
Integer. Page number, starting at 1, of results to get. Optional. |
photographer |
String. The primary photographer’s name. Optional. |
secondary_creator |
String. A secondary photographer/videographer’s name. Optional. |
title |
String. Terms to search for in “Title” fields. Optional. |
year_start |
String. The start year for results. Format: YYYY. Optional. |
year_end |
String. The end year for results. Format: YYYY. Optional. |
See detailed info at https://images.nasa.gov/docs/images.nasa.gov_api_docs.pdf.
Info of images/videos in NASA Image and Video Library.
1 2 3 4 | NASA_Image_Video(endpoint = "search", q = "apollo%2011", description = "moon%20landing", media_type = "image")
NASA_Image_Video(endpoint = "asset", nasa_id = "as11-40-5874")
NASA_Image_Video(endpoint = "metadata", nasa_id = "as11-40-5874")
NASA_Image_Video(endpoint = "captions", nasa_id = "172_ISS-Slosh")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.