Skip to content

Quarantine-Projects/ISS_Info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ISS-Info

MIT license Downloads Downloads Downloads

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!