python-nasapi

Python-nasapi is a client library for interacting with NASA api’s.

Example:

import os
from datetime import date

from nasapi import Nasapi


os.environ['NASA_API_KEY'] = 'yourkeyhere'

resource = Nasapi.get_apod(date=date(2015, 10, 22), hd=True)

Note

Currently the wrapper only includes the APOD, Imagery and Assets endpoints.

Modules

  • Nasapi
  • NasapiError

Indices and tables