Skip to content

Instantly share code, notes, and snippets.

@khle
Created November 11, 2021 04:06
Show Gist options
  • Save khle/ee8670191dfe1875ffc6f37f7616cd9e to your computer and use it in GitHub Desktop.
Save khle/ee8670191dfe1875ffc6f37f7616cd9e to your computer and use it in GitHub Desktop.
spacex gql
query($limit:Int)
{
launchesPast(limit: $limit) {
mission_name
launch_date_local
launch_site {
site_name_long
}
links {
article_link
video_link
}
rocket {
rocket_name
first_stage {
cores {
flight
core {
reuse_count
status
}
}
}
second_stage {
payloads {
payload_type
payload_mass_kg
payload_mass_lbs
}
}
}
ships {
name
image
home_port
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment