US Government Data Sources
|
|
|
Description:
|
The NASA Images API (https://images.nasa.gov/docs/images.nasa.gov_api_docs.pdf ) provides access to the media available at images.nasa.gov.
The images.nasa.gov API offers several endpoints:
Search
Performs a parameterized search for media assets
https://images-api.nasa.gov/search?parms
Asset
Retrieves an asset’s manifest based on its nasa_id
https://images-api.nasa.gov/asset/{nasa_id}
Metadata
Retrieve an asset’s metadata location based on its nasa_id
https://images-api.nasa.gov/metadata/{nasa_id}
Captions
Retrieve an asset’s captions based on its nasa_id
https://images-api.nasa.gov/captions/{nasa_id}
|
WSDL/Data Location:
|
TheNASA Images API is a REST based web service that only returns data formatted in JSON. The base address of the API is:
https://images-api.nasa.gov
The format of requests to the API depends upon the endpoint:
EndPoint | Request |
Search | https://images-api.nasa.gov/search?parms |
Asset | https://images-api.nasa.gov/asset/{nasa_id} |
Metadata | https://images-api.nasa.gov/metadata/{nasa_id} |
Captions | https://images-api.nasa.gov/captions/{nasa_id} |
Where:
parms => URL parameters used to filter data being returned from the search
nasa_id => A code that uniquely identifies the data to be returned
|
|
|