Skip to content

Commit 3311d31

Browse files
committed
moved usage docs to wiki, and updated readme with wiki link
1 parent cc79872 commit 3311d31

File tree

1 file changed

+3
-108
lines changed

1 file changed

+3
-108
lines changed

README.md

Lines changed: 3 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -14,116 +14,11 @@
1414

1515
### JSON API for data regarding company info, vehicles, launch sites, and launch data.
1616
<br></br>
17-
# Usage / Endpoints
18-
</div>
19-
20-
21-
## Basic Info
22-
Get API info
23-
```http
24-
GET https://api.spacexdata.com
25-
```
26-
Get company info
27-
```http
28-
GET https://api.spacexdata.com/info
29-
```
30-
Get vehicle information
31-
```http
32-
GET https://api.spacexdata.com/vehicles
33-
```
34-
```http
35-
GET https://api.spacexdata.com/vehicles/falcon9
36-
GET https://api.spacexdata.com/vehicles/falconheavy
37-
GET https://api.spacexdata.com/vehicles/dragon
38-
```
39-
Get launchpad information
40-
```http
41-
GET https://api.spacexdata.com/launchpads
42-
```
43-
44-
## Launch information by dates
45-
Get all launches
46-
```http
47-
GET https://api.spacexdata.com/launches
48-
```
49-
Get past launches by year
50-
```http
51-
GET https://api.spacexdata.com/launches/year=2017
52-
```
53-
Get past launches in a date range
54-
```http
55-
GET https://api.spacexdata.com/launches/from=2011-01-20&to=2017-05-25
56-
```
57-
Get data on upcoming launches
58-
```http
59-
GET https://api.spacexdata.com/launches/upcoming
60-
GET https://api.spacexdata.com/launches/upcoming/year=2017
61-
GET https://api.spacexdata.com/launches/upcoming/from=2011-01-20&to=2017-05-25
62-
```
63-
64-
## Launch info by serial #'s
65-
Get launches by core serial #
66-
```http
67-
GET https://api.spacexdata.com/launches/cores/B1021
68-
```
69-
Get launches by capsule serial #
70-
```http
71-
GET https://api.spacexdata.com/launches/caps/C106
72-
```
7317

74-
## Detailed info about each capsule
75-
Get detailed info on all capsules
76-
```http
77-
GET https://api.spacexdata.com/parts/caps
78-
```
79-
Get detailed capsule information by serial #
80-
```http
81-
GET https://api.spacexdata.com/parts/caps/C106
82-
```
83-
84-
## Detailed info about each core
85-
Get detailed info on all cores
86-
```http
87-
GET https://api.spacexdata.com/parts/cores
88-
```
89-
Get detailed core information by serial #
90-
```http
91-
GET https://api.spacexdata.com/parts/cores/B1021
92-
```
93-
94-
## JSON launch response example
18+
</div>
9519

96-
```json
97-
{
98-
"flight_number": 42,
99-
"launch_year": "2017",
100-
"launch_date": "2017-06-23",
101-
"time_utc": "19:10",
102-
"time_local": "03:10 pm EDT",
103-
"rocket": "Falcon 9",
104-
"rocket_type": "FT",
105-
"core_serial": "B1029",
106-
"cap_serial": "",
107-
"launch_site": "KSC LC39A",
108-
"payload_1": "BulgariaSat-1",
109-
"payload_2": "",
110-
"payload_type": "Satelite",
111-
"payload_mass_kg": 3669,
112-
"payload_mass_lbs": 8089,
113-
"orbit": "GTO",
114-
"customer_1": "Bulgaria Sat",
115-
"customer_2": "",
116-
"launch_success": true,
117-
"reused": true,
118-
"land_success": true,
119-
"landing_type": "ASDS",
120-
"mission_patch": "http://i.imgur.com/VAvulaO.png",
121-
"article_link": "https://en.wikipedia.org/wiki/BulgariaSat-1",
122-
"video_link": "https://www.youtube.com/watch?v=Y8mLi-rRTh8",
123-
"details": "Second time a booster will be reused: Second flight of B1029 after the Iridium mission of January 2017. The satellite will be the first commercial Bulgarian-owned communications satellite and it will provide television broadcasts and other communications services over southeast Europe."
124-
},
125-
```
126-
<br></br>
20+
## Usage / Endpoints
21+
See the [Wiki](https://github.com/r-spacex/SpaceX-API/wiki) for API Documentation
12722

12823
## Contributions
12924

0 commit comments

Comments
 (0)