NasaAPIWrapper#

class langchain_community.utilities.nasa.NasaAPIWrapper[source]#

Bases: BaseModel

Wrapper for NASA API.

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

get_media(query: str) str[source]#
Parameters:

query (str) –

Return type:

str

get_media_metadata_location(query: str) str[source]#
Parameters:

query (str) –

Return type:

str

get_media_metadata_manifest(query: str) str[source]#
Parameters:

query (str) –

Return type:

str

get_video_captions_location(query: str) str[source]#
Parameters:

query (str) –

Return type:

str

run(mode: str, query: str) str[source]#
Parameters:
  • mode (str) –

  • query (str) –

Return type:

str

Examples using NasaAPIWrapper