Python wrapper for tracking information about International Space Station via http://open-notify.org/
Project description
ISS-Info
Python wrapper for tracking information about International Space Station via http://open-notify.org
Installation
In order install this package, simply run:
pip install ISS_Info
Usage
To use ISS_Info, you first need to import the package:
import ISS_Info
International Space Station Current Location:
ISS_Info.iss_current_loc() # Returns a dictionary with latitude, longitude, timestamp.
How Many People Are In ISS Right Now:
ISS_Info.iss_people_in_space() # Returns a dictionary with number, names, craft information.
International Space Station Pass Times:
Given a location on Earth (latitude, longitude, and altitude) this API will compute the next n number of times that the ISS will be overhead. Overhead is defined as 10° in elevation for the observer. The times are computed in UTC and the length of time that the ISS is above 10° is in seconds.
ISS_Info.iss_passes(43.5,-74,200,3) # Returns a dictionary with every pass information.
Input | Description | Parameter Name | Valid Range | Units | Required |
---|---|---|---|---|---|
Latitude | The latitude of the place to predict passes | lat | -80 ~ 80 | degrees | YES |
Longitude | The longitude of the place to predict passes | lon | -180 ~ 180 | degrees | YES |
Altitude | The altitude of the place to predict passes | alt | 0 ~ 10,000 | meters | Optional |
Number | The number of passes to return | n | 1 ~ 100 | – | Optional |
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Salil Gautam 💻 📖 💡 |
Pdx97 💻 📖 💡 |
This project follows the all-contributors specification. Contributions of any kind welcome!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.