Skip to content

spinov001-art/spacex-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

🚀 SpaceX Python Client — Launch Data, Rockets, Crew (No API Key)

Lightweight Python wrapper for the SpaceX API. Get launch data, rocket specs, crew info, and Starlink satellites — no authentication needed.

Quick Start

from spacex_client import SpaceXClient

sx = SpaceXClient()

# Latest launch
launch = sx.latest_launch()
print(f"{launch['name']}{launch['date_utc'][:10]}{'Success' if launch['success'] else 'Failed'}")

# All rockets
for rocket in sx.rockets():
    print(f"{rocket['name']}: {rocket['description'][:80]}...")

# Upcoming launches
for launch in sx.upcoming(limit=3):
    print(f"  {launch['name']}{launch['date_utc'][:10]}")

Features

  • Latest, past, and upcoming launches
  • Rocket specifications (Falcon 9, Starship, etc.)
  • Crew member data
  • Starlink satellite tracking
  • No API key, no rate limits

Related

MIT — Spinov001

About

SpaceX API client: launches, rockets, crew, Starlink data. No API key needed. Lightweight Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages