File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change 55![ Imgur] ( http://i.imgur.com/EdfIdgC.jpg )
66
77# SpaceX Public JSON API
8- ### Public API for data about company info, vehicles, launch sites, and launch data.
8+ ### JSON API for data about company info, vehicles, launch sites, and launch data.
99
1010</div >
11+
12+ ## Usage / Endpoints
13+ Get API info
14+ ``` http
15+ GET https://api.spacex.com
16+ ```
17+
18+ Get company info
19+ ``` http
20+ GET https://api.spacex.com/info
21+ ```
22+
23+ Get vehicle information
24+ ``` http
25+ GET https://api.spacex.com/falcon9
26+ /falconheavy
27+ /dragon
28+ ```
29+
30+ Get launches by year
31+ ``` http
32+ GET https://api.spacex.com/launches/2017
33+ ```
34+
35+ Get launches in a date range
36+ ``` http
37+ GET https://api.spacex.com/launches/from=01-20-2011/to=01-20-2017
38+ ```
You can’t perform that action at this time.
0 commit comments