Python wrapper for tracking information about International Space Station via http://open-notify.org
In order install this package, simply run:
pip install ISS_Info
To use ISS_Info, you first need to import the package:
import ISS_Info
ISS_Info.iss_current_loc() # Returns a dictionary with latitude, longitude, timestamp.
ISS_Info.iss_people_in_space() # Returns a dictionary with number, names, craft information.
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 |
Thanks goes to these wonderful people (emoji key):
Salil Gautam 💻 📖 💡 |
Pdx97 💻 📖 💡 |
This project follows the all-contributors specification. Contributions of any kind welcome!