Skip to content

spinov001-art/iss-tracker-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

iss-tracker-python 🛰️

Lightweight Python client for tracking the International Space Station in real-time. No API key needed.

Features

  • Real-time ISS position — latitude/longitude updated every second
  • People in space — who's currently aboard the ISS
  • Pass predictions — when the ISS will be visible from your location
  • Zero config — no API key, no signup, just pip install requests

Quick Start

from iss_tracker import ISSTracker

tracker = ISSTracker()

# Where is the ISS right now?
pos = tracker.position()
print(f"ISS is at {pos['latitude']}, {pos['longitude']}")

# Who's in space?
people = tracker.people_in_space()
print(f"{people['number']} people in space:")
for p in people['people']:
    print(f"  {p['name']} on {p['craft']}")

# When will ISS pass over New York?
passes = tracker.passes(latitude=40.7128, longitude=-74.0060)
for p in passes:
    print(f"  {p['risetime']} — duration: {p['duration']}s")

Output

ISS is at 45.2341, -122.8673

6 people in space:
  Oleg Kononenko on ISS
  Nikolai Chub on ISS
  Tracy Dyson on ISS
  Matthew Dominick on ISS
  Michael Barratt on ISS
  Jeanette Epps on ISS

API Reference

Method Description Source
position() Current ISS lat/lon Open Notify
people_in_space() Astronauts currently in space Open Notify
passes(lat, lon, n=5) Next N visible passes from location Open Notify

Data Sources

  • Open Notify API — ISS position and crew data
  • Updated every 1 second for position data

Use Cases

  • "Is the ISS above me?" web app
  • Slack/Discord bot with ISS alerts
  • Data visualization of ISS orbit
  • Educational projects about space

Related Projects

License

MIT


Need a Custom Tool Built?

I build production-ready scrapers, APIs, and data tools — 78+ deployed on Apify, 270+ open-source repos.

📧 spinov001@gmail.com$250 flat rate, 48h delivery. Describe your project, get a free estimate in 2 hours.

🔧 Browse 78+ ready-made tools on Apify →

About

Track the International Space Station in real-time with Python — position, crew, pass predictions. No API key needed.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages