Skip to main content

Unofficial Python Wrapper for NASA API

Project description

Python NASA

Unofficial Python Wrapper for NASA API. Full API Documentation https://api.nasa.gov/.

Install

pip install python-nasa

Usage

Basic Usage

from nasa import Client
# api_key = "Your API Key" Generate here https://api.nasa.gov/
client = Client(api_key)
apod = client.apod()

Get Image

from nasa import Client
# api_key = "Your API Key" Generate here https://api.nasa.gov/
client = Client(api_key)
apod_image = client.apod(get_image=True)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-nasa-0.3.0.tar.gz (4.8 kB view hashes)

Uploaded source

Built Distribution

python_nasa-0.3.0-py3-none-any.whl (6.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page