Giter Site home page Giter Site logo

xianglongxiang / spacex-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from r-spacex/spacex-api

0.0 1.0 0.0 10.76 MB

:rocket: Open Source REST API for rocket, core, capsule, pad, and launch data

Home Page: https://docs.spacexdata.com

License: Apache License 2.0

JavaScript 99.33% Dockerfile 0.55% Shell 0.12%

spacex-api's Introduction

SpaceX REST API

Open Source REST API for rocket, core, capsule, pad, and launch data

We are not affiliated, associated, authorized, endorsed by, or in any way officially connected with Space Exploration Technologies Inc (SpaceX), or any of its subsidiaries or its affiliates. The names SpaceX as well as related names, marks, emblems and images are registered trademarks of their respective owners.

Usage

GET https://api.spacexdata.com/v3/launches/latest
{
   "flight_number": 95,
   "mission_name": "Starlink 7",
   "mission_id": [

   ],
   "launch_year": "2020",
   "launch_date_unix": 1591233900,
   "launch_date_utc": "2020-06-04T01:25:00.000Z",
   "launch_date_local": "2020-06-03T21:25:00-04:00",
   "is_tentative": false,
   "tentative_max_precision": "hour",
   "tbd": false,
   "launch_window": null,
   "rocket": {
      "rocket_id": "falcon9",
      "rocket_name": "Falcon 9",
      "rocket_type": "FT",
      "first_stage": {
         "cores": [
            {
               "core_serial": "B1049",
               "flight": 5,
               "block": 5,
               "gridfins": true,
               "legs": true,
               "reused": true,
               "land_success": true,
               "landing_intent": true,
               "landing_type": "ASDS",
               "landing_vehicle": "JRTI"
            }
         ]
      },
      "second_stage": {
         "block": 5,
         "payloads": [
            {
               "payload_id": "Starlink 7",
               "norad_id": [

               ],
               "reused": false,
               "customers": [
                  "SpaceX"
               ],
               "nationality": "United States",
               "manufacturer": "SpaceX",
               "payload_type": "Satellite",
               "payload_mass_kg": 15400,
               "payload_mass_lbs": 33951.2,
               "orbit": "VLEO",
               "orbit_params": {
                  "reference_system": "geocentric",
                  "regime": "very-low-earth",
                  "longitude": null,
                  "semi_major_axis_km": null,
                  "eccentricity": null,
                  "periapsis_km": null,
                  "apoapsis_km": null,
                  "inclination_deg": null,
                  "period_min": null,
                  "lifespan_years": null,
                  "epoch": null,
                  "mean_motion": null,
                  "raan": null,
                  "arg_of_pericenter": null,
                  "mean_anomaly": null
               }
            }
         ]
      },
      "fairings": {
         "reused": false,
         "recovery_attempt": true,
         "recovered": null,
         "ship": "GOMSTREE"
      }
   },
   "ships": [

   ],
   "telemetry": {
      "flight_club": null
   },
   "launch_site": {
      "site_id": "ccafs_slc_40",
      "site_name": "CCAFS SLC 40",
      "site_name_long": "Cape Canaveral Air Force Station Space Launch Complex 40"
   },
   "launch_success": true,
   "links": {
      "mission_patch": "https://images2.imgbox.com/d2/3b/bQaWiil0_o.png",
      "mission_patch_small": "https://images2.imgbox.com/9a/96/nLppz9HW_o.png",
      "reddit_campaign": "https://www.reddit.com/r/spacex/comments/gamcbr/starlink7_launch_campaign_thread/",
      "reddit_launch": "https://www.reddit.com/r/spacex/comments/gkfe30/rspacex_starlink_7_official_launch_discussion/",
      "reddit_recovery": null,
      "reddit_media": null,
      "presskit": "https://spacextimemachine.com/assets/press_kits/185.pdf",
      "article_link": null,
      "wikipedia": null,
      "video_link": "https://youtu.be/y4xBFHjkUvw",
      "youtube_id": "y4xBFHjkUvw",
      "flickr_images": [
         "https://live.staticflickr.com/65535/49971196871_a0462d0084_o.jpg",
         "https://live.staticflickr.com/65535/49970682603_e6333945ee_o.jpg"
      ]
   },
   "details": "This mission will launch the seventh batch of operational Starlink satellites, which are expected to be version 1.0, from SLC-40, Cape Canaveral AFS. It is the eighth Starlink launch overall. The satellites will be delivered to low Earth orbit and will spend a few weeks maneuvering to their operational altitude of 550 km. The booster for this mission is expected to land on JRTI on its first mission since arriving at Port Canaveral.",
   "upcoming": false,
   "static_fire_date_utc": "2020-05-13T11:11:00.000Z",
   "static_fire_date_unix": 1589368260,
   "timeline": null,
   "crew": null,
   "last_date_update": "2020-06-03T15:45:37.000Z",
   "last_ll_launch_date": "2020-06-04T01:25:00.000Z",
   "last_ll_update": "2020-06-03T15:45:37.000Z",
   "last_wiki_launch_date": "2020-06-04T01:25:00.000Z",
   "last_wiki_revision": "f7d37887-a36e-11ea-8ba2-0e4dda687887",
   "last_wiki_update": "2020-05-31T18:45:59.000Z",
   "launch_date_source": "launch_library"
}

Sponsors

Studio 3T

FAQ's

  • If you have any questions or corrections, please open an issue and we'll get it merged ASAP
  • For any other questions or concerns, just shoot me an email

spacex-api's People

Contributors

jakewmeyer avatar waterskier2007 avatar dependabot[bot] avatar srokap avatar jhpratt avatar mathisbeauty avatar alshapton avatar deadband avatar basedoesgames avatar pastudan avatar jor-dan avatar crunchysoul avatar philipengberg avatar omisie11 avatar ridwan102 avatar psidex avatar twilco avatar vinayphadnis avatar warwickofthegh avatar zacdevil10 avatar 3ks avatar louisjc avatar nsb-xps avatar orcaman avatar rodolfobandeira avatar tearth avatar mezgoodle avatar mattmillsxyz avatar tramontini avatar hikaylum avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.