spacex 1.0.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.github/workflows/ruby.yml +26 -0
- data/.gitignore +1 -0
- data/.rubocop.yml +6 -0
- data/.rubocop_todo.yml +1 -1
- data/CHANGELOG.md +54 -1
- data/CLAUDE.md +55 -0
- data/Dangerfile +28 -0
- data/Gemfile +12 -1
- data/README.md +52 -510
- data/docs/v3.md +525 -0
- data/docs/v4.md +179 -0
- data/lib/spacex/base_request.rb +8 -8
- data/lib/spacex/capsules.rb +10 -12
- data/lib/spacex/company.rb +7 -0
- data/lib/spacex/cores.rb +11 -14
- data/lib/spacex/crew.rb +15 -0
- data/lib/spacex/{dragon_capsules.rb → dragons.rb} +14 -16
- data/lib/spacex/history.rb +9 -2
- data/lib/spacex/landpads.rb +23 -0
- data/lib/spacex/launches.rb +35 -11
- data/lib/spacex/launchpads.rb +23 -0
- data/lib/spacex/models.rb +16 -0
- data/lib/spacex/payloads.rb +31 -2
- data/lib/spacex/rockets.rb +26 -3
- data/lib/spacex/ships.rb +22 -24
- data/lib/spacex/starlink.rb +16 -0
- data/lib/spacex/version.rb +1 -1
- data/lib/spacex.rb +2 -17
- data/spacex.gemspec +6 -9
- data/spec/coverage_helper.rb +5 -0
- data/spec/fixtures/spacex/v4/capsules/all.yml +122 -0
- data/spec/fixtures/spacex/v4/capsules/one.yml +89 -0
- data/spec/fixtures/spacex/v4/company.yml +80 -0
- data/spec/fixtures/spacex/v4/cores/all.yml +76 -0
- data/spec/fixtures/spacex/v4/cores/one.yml +75 -0
- data/spec/fixtures/spacex/v4/crew/all.yml +92 -0
- data/spec/fixtures/spacex/v4/crew/one.yml +74 -0
- data/spec/fixtures/spacex/v4/dragons/all.yml +101 -0
- data/spec/fixtures/spacex/v4/dragons/one.yml +189 -0
- data/spec/fixtures/spacex/v4/history/all.yml +85 -0
- data/spec/fixtures/spacex/v4/history/one.yml +168 -0
- data/spec/fixtures/spacex/v4/landpads/all.yml +85 -0
- data/spec/fixtures/spacex/v4/landpads/one.yml +172 -0
- data/spec/fixtures/spacex/v4/launches/all.yml +85 -0
- data/spec/fixtures/spacex/v4/launches/latest.yml +84 -0
- data/spec/fixtures/spacex/v4/launches/next.yml +84 -0
- data/spec/fixtures/spacex/v4/launches/one.yml +167 -0
- data/spec/fixtures/spacex/v4/launches/past.yml +85 -0
- data/spec/fixtures/spacex/v4/launches/upcoming.yml +97 -0
- data/spec/fixtures/spacex/v4/launchpads/all.yml +139 -0
- data/spec/fixtures/spacex/v4/launchpads/one.yml +225 -0
- data/spec/fixtures/spacex/v4/payloads/all.yml +85 -0
- data/spec/fixtures/spacex/v4/payloads/one.yml +167 -0
- data/spec/fixtures/spacex/v4/roadster.yml +90 -0
- data/spec/fixtures/spacex/v4/rockets/all.yml +76 -0
- data/spec/fixtures/spacex/v4/rockets/one.yml +84 -0
- data/spec/fixtures/spacex/v4/ships/all.yml +164 -0
- data/spec/fixtures/spacex/v4/ships/one.yml +248 -0
- data/spec/fixtures/spacex/v4/starlink/all.yml +17713 -0
- data/spec/fixtures/spacex/v4/starlink/one.yml +17798 -0
- data/spec/spacex/base_request_spec.rb +112 -0
- data/spec/spacex/capsules_spec.rb +19 -28
- data/spec/spacex/company_spec.rb +26 -0
- data/spec/spacex/cores_spec.rb +18 -31
- data/spec/spacex/crew_spec.rb +27 -0
- data/spec/spacex/dragons_spec.rb +39 -0
- data/spec/spacex/history_spec.rb +16 -40
- data/spec/spacex/landpads_spec.rb +35 -0
- data/spec/spacex/launches_spec.rb +28 -628
- data/spec/spacex/launchpads_spec.rb +34 -0
- data/spec/spacex/payloads_spec.rb +27 -51
- data/spec/spacex/roadster_spec.rb +5 -29
- data/spec/spacex/rockets_spec.rb +26 -194
- data/spec/spacex/ships_spec.rb +20 -51
- data/spec/spacex/starlink_spec.rb +28 -0
- data/spec/spacex/version_spec.rb +12 -0
- data/spec/spec_helper.rb +3 -9
- metadata +106 -137
- data/.ruby-version +0 -1
- data/.travis.yml +0 -21
- data/lib/spacex/api_info.rb +0 -7
- data/lib/spacex/company_info.rb +0 -7
- data/lib/spacex/endpoint.rb +0 -3
- data/lib/spacex/landing_pads.rb +0 -11
- data/lib/spacex/launch_pads.rb +0 -11
- data/lib/spacex/missions.rb +0 -18
- data/spec/fixtures/spacex/api_info/info.yml +0 -65
- data/spec/fixtures/spacex/capsules/C202.yml +0 -123
- data/spec/fixtures/spacex/capsules.yml +0 -83
- data/spec/fixtures/spacex/company_info/info.yml +0 -129
- data/spec/fixtures/spacex/cores/B1041.yml +0 -123
- data/spec/fixtures/spacex/cores.yml +0 -62
- data/spec/fixtures/spacex/dragon_capsules/info/dragon1.yml +0 -131
- data/spec/fixtures/spacex/dragon_capsules/info.yml +0 -77
- data/spec/fixtures/spacex/history/info/4.yml +0 -62
- data/spec/fixtures/spacex/history/info.yml +0 -62
- data/spec/fixtures/spacex/landing_pads/info/LZ-4.yml +0 -70
- data/spec/fixtures/spacex/landing_pads/info.yml +0 -68
- data/spec/fixtures/spacex/launch_pads/info/vafb_slc_4e.yml +0 -71
- data/spec/fixtures/spacex/launch_pads/info.yml +0 -104
- data/spec/fixtures/spacex/launches/68.yml +0 -69
- data/spec/fixtures/spacex/launches/all.yml +0 -62
- data/spec/fixtures/spacex/launches/info.yml +0 -62
- data/spec/fixtures/spacex/launches/latest.yml +0 -245
- data/spec/fixtures/spacex/launches/next.yml +0 -123
- data/spec/fixtures/spacex/launches/past.yml +0 -62
- data/spec/fixtures/spacex/launches/upcoming.yml +0 -64
- data/spec/fixtures/spacex/launches.yml +0 -62
- data/spec/fixtures/spacex/missions/F3364BF.yml +0 -157
- data/spec/fixtures/spacex/missions/info.yml +0 -62
- data/spec/fixtures/spacex/payloads/RatSat.yml +0 -62
- data/spec/fixtures/spacex/payloads/info.yml +0 -62
- data/spec/fixtures/spacex/roadster/info.yml +0 -133
- data/spec/fixtures/spacex/rockets/info/falcon1.yml +0 -139
- data/spec/fixtures/spacex/rockets/info/invalid.yml +0 -61
- data/spec/fixtures/spacex/rockets/info.yml +0 -105
- data/spec/fixtures/spacex/ships/info/AMERICANCHAMPION.yml +0 -125
- data/spec/fixtures/spacex/ships/info.yml +0 -139
- data/spec/spacex/api_info_spec.rb +0 -16
- data/spec/spacex/company_info_spec.rb +0 -27
- data/spec/spacex/dragon_capsules_spec.rb +0 -107
- data/spec/spacex/endpoint_spec.rb +0 -9
- data/spec/spacex/landing_pads_spec.rb +0 -72
- data/spec/spacex/launch_pads_spec.rb +0 -77
- data/spec/spacex/missions_spec.rb +0 -35
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
http_interactions:
|
|
3
|
-
- request:
|
|
4
|
-
method: get
|
|
5
|
-
uri: https://api.spacexdata.com/v3/roadster
|
|
6
|
-
body:
|
|
7
|
-
encoding: US-ASCII
|
|
8
|
-
string: ''
|
|
9
|
-
headers:
|
|
10
|
-
User-Agent:
|
|
11
|
-
- Faraday v0.15.2
|
|
12
|
-
Accept-Encoding:
|
|
13
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
14
|
-
Accept:
|
|
15
|
-
- "*/*"
|
|
16
|
-
response:
|
|
17
|
-
status:
|
|
18
|
-
code: 200
|
|
19
|
-
message: OK
|
|
20
|
-
headers:
|
|
21
|
-
Date:
|
|
22
|
-
- Wed, 22 Aug 2018 12:43:44 GMT
|
|
23
|
-
Content-Type:
|
|
24
|
-
- application/json; charset=utf-8
|
|
25
|
-
Transfer-Encoding:
|
|
26
|
-
- chunked
|
|
27
|
-
Connection:
|
|
28
|
-
- keep-alive
|
|
29
|
-
Set-Cookie:
|
|
30
|
-
- __cfduid=de099dbdaf8adee64cc1bb8b455b7e35f1534941824; expires=Thu, 22-Aug-19
|
|
31
|
-
12:43:44 GMT; path=/; domain=.spacexdata.com; HttpOnly; Secure
|
|
32
|
-
Vary:
|
|
33
|
-
- Accept-Encoding, Origin
|
|
34
|
-
X-Dns-Prefetch-Control:
|
|
35
|
-
- 'off'
|
|
36
|
-
X-Frame-Options:
|
|
37
|
-
- SAMEORIGIN
|
|
38
|
-
Strict-Transport-Security:
|
|
39
|
-
- max-age=15552000; includeSubDomains
|
|
40
|
-
X-Download-Options:
|
|
41
|
-
- noopen
|
|
42
|
-
X-Content-Type-Options:
|
|
43
|
-
- nosniff
|
|
44
|
-
X-Xss-Protection:
|
|
45
|
-
- 1; mode=block
|
|
46
|
-
Access-Control-Allow-Origin:
|
|
47
|
-
- "*"
|
|
48
|
-
X-Koa-Redis-Cache:
|
|
49
|
-
- 'true'
|
|
50
|
-
X-Response-Time:
|
|
51
|
-
- 2ms
|
|
52
|
-
Expect-Ct:
|
|
53
|
-
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
|
54
|
-
Server:
|
|
55
|
-
- cloudflare
|
|
56
|
-
Cf-Ray:
|
|
57
|
-
- 44e56d43de24aba2-YYZ
|
|
58
|
-
body:
|
|
59
|
-
encoding: ASCII-8BIT
|
|
60
|
-
string: '{"name":"Elon Musk''s Tesla Roadster","launch_date_utc":"2018-02-06T20:45:00.000Z","launch_date_unix":1517949900,"launch_mass_kg":1350,"launch_mass_lbs":2976,"norad_id":43205,"epoch_jd":2458353.027800926,"orbit_type":"heliocentric","apoapsis_au":1.663757412460597,"periapsis_au":0.9860953641129515,"semi_major_axis_au":128.9377154487144,"eccentricity":0.2557357353354217,"inclination":1.077474057737451,"longitude":317.0962040947829,"periapsis_arg":177.491390597234,"period_days":557.0395762229033,"speed_kph":76703.72399999999,"speed_mph":47661.469685603995,"earth_distance_km":172954806.23899576,"earth_distance_mi":107469100.90753104,"mars_distance_km":147648108.6344399,"mars_distance_mi":91744252.91029055,"wikipedia":"https://en.wikipedia.org/wiki/Elon_Musk%27s_Tesla_Roadster","details":"Elon
|
|
61
|
-
Musk''s Tesla Roadster is an electric sports car that served as the dummy
|
|
62
|
-
payload for the February 2018 Falcon Heavy test flight and is now an artificial
|
|
63
|
-
satellite of the Sun. Starman, a mannequin dressed in a spacesuit, occupies
|
|
64
|
-
the driver''s seat. The car and rocket are products of Tesla and SpaceX, both
|
|
65
|
-
companies founded by Elon Musk. This 2008-model Roadster was previously used
|
|
66
|
-
by Musk for commuting, and is the only consumer car sent into space."}'
|
|
67
|
-
http_version:
|
|
68
|
-
recorded_at: Wed, 22 Aug 2018 12:43:44 GMT
|
|
69
|
-
- request:
|
|
70
|
-
method: get
|
|
71
|
-
uri: https://api.spacexdata.com/v3/roadster
|
|
72
|
-
body:
|
|
73
|
-
encoding: US-ASCII
|
|
74
|
-
string: ''
|
|
75
|
-
headers:
|
|
76
|
-
User-Agent:
|
|
77
|
-
- Faraday v0.15.3
|
|
78
|
-
Accept-Encoding:
|
|
79
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
80
|
-
Accept:
|
|
81
|
-
- "*/*"
|
|
82
|
-
response:
|
|
83
|
-
status:
|
|
84
|
-
code: 200
|
|
85
|
-
message: OK
|
|
86
|
-
headers:
|
|
87
|
-
Date:
|
|
88
|
-
- Thu, 11 Oct 2018 03:02:44 GMT
|
|
89
|
-
Content-Type:
|
|
90
|
-
- application/json; charset=utf-8
|
|
91
|
-
Transfer-Encoding:
|
|
92
|
-
- chunked
|
|
93
|
-
Connection:
|
|
94
|
-
- keep-alive
|
|
95
|
-
Set-Cookie:
|
|
96
|
-
- __cfduid=d15d8fde2973e63ff304dcc71b17e19031539226963; expires=Fri, 11-Oct-19
|
|
97
|
-
03:02:43 GMT; path=/; domain=.spacexdata.com; HttpOnly; Secure
|
|
98
|
-
Vary:
|
|
99
|
-
- Accept-Encoding, Origin
|
|
100
|
-
X-Dns-Prefetch-Control:
|
|
101
|
-
- 'off'
|
|
102
|
-
X-Frame-Options:
|
|
103
|
-
- SAMEORIGIN
|
|
104
|
-
Strict-Transport-Security:
|
|
105
|
-
- max-age=15552000; includeSubDomains
|
|
106
|
-
X-Download-Options:
|
|
107
|
-
- noopen
|
|
108
|
-
X-Content-Type-Options:
|
|
109
|
-
- nosniff
|
|
110
|
-
X-Xss-Protection:
|
|
111
|
-
- 1; mode=block
|
|
112
|
-
Access-Control-Allow-Origin:
|
|
113
|
-
- "*"
|
|
114
|
-
X-Response-Time:
|
|
115
|
-
- 41ms
|
|
116
|
-
Expect-Ct:
|
|
117
|
-
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
|
118
|
-
Server:
|
|
119
|
-
- cloudflare
|
|
120
|
-
Cf-Ray:
|
|
121
|
-
- 467e16ec7d69ae3e-BOS
|
|
122
|
-
body:
|
|
123
|
-
encoding: ASCII-8BIT
|
|
124
|
-
string: '{"name":"Elon Musk''s Tesla Roadster","launch_date_utc":"2018-02-06T20:45:00.000Z","launch_date_unix":1517949900,"launch_mass_kg":1350,"launch_mass_lbs":2976,"norad_id":43205,"epoch_jd":2458402.62119213,"orbit_type":"heliocentric","apoapsis_au":1.663745482126572,"periapsis_au":0.9860262071518,"semi_major_axis_au":160.9952187574051,"eccentricity":0.2557651580764452,"inclination":1.077526460239241,"longitude":317.0949151781638,"periapsis_arg":177.4877172683911,"period_days":557.0140077343119,"speed_kph":72400.356,"speed_mph":44987.481608076,"earth_distance_km":252583722.357282,"earth_distance_mi":156948200.14486668,"mars_distance_km":191564175.5833636,"mars_distance_mi":119032423.34641021,"flickr_images":["https://farm5.staticflickr.com/4615/40143096241_11128929df_b.jpg","https://farm5.staticflickr.com/4702/40110298232_91b32d0cc0_b.jpg","https://farm5.staticflickr.com/4676/40110297852_5e794b3258_b.jpg","https://farm5.staticflickr.com/4745/40110304192_6e3e9a7a1b_b.jpg"],"wikipedia":"https://en.wikipedia.org/wiki/Elon_Musk%27s_Tesla_Roadster","details":"Elon
|
|
125
|
-
Musk''s Tesla Roadster is an electric sports car that served as the dummy
|
|
126
|
-
payload for the February 2018 Falcon Heavy test flight and is now an artificial
|
|
127
|
-
satellite of the Sun. Starman, a mannequin dressed in a spacesuit, occupies
|
|
128
|
-
the driver''s seat. The car and rocket are products of Tesla and SpaceX, both
|
|
129
|
-
companies founded by Elon Musk. This 2008-model Roadster was previously used
|
|
130
|
-
by Musk for commuting, and is the only consumer car sent into space."}'
|
|
131
|
-
http_version:
|
|
132
|
-
recorded_at: Thu, 11 Oct 2018 03:02:44 GMT
|
|
133
|
-
recorded_with: VCR 4.0.0
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
http_interactions:
|
|
3
|
-
- request:
|
|
4
|
-
method: get
|
|
5
|
-
uri: https://api.spacexdata.com/v3/rockets/falcon1
|
|
6
|
-
body:
|
|
7
|
-
encoding: US-ASCII
|
|
8
|
-
string: ''
|
|
9
|
-
headers:
|
|
10
|
-
User-Agent:
|
|
11
|
-
- Faraday v0.15.3
|
|
12
|
-
Accept-Encoding:
|
|
13
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
14
|
-
Accept:
|
|
15
|
-
- "*/*"
|
|
16
|
-
response:
|
|
17
|
-
status:
|
|
18
|
-
code: 200
|
|
19
|
-
message: OK
|
|
20
|
-
headers:
|
|
21
|
-
Date:
|
|
22
|
-
- Fri, 12 Oct 2018 03:32:14 GMT
|
|
23
|
-
Content-Type:
|
|
24
|
-
- application/json; charset=utf-8
|
|
25
|
-
Transfer-Encoding:
|
|
26
|
-
- chunked
|
|
27
|
-
Connection:
|
|
28
|
-
- keep-alive
|
|
29
|
-
Set-Cookie:
|
|
30
|
-
- __cfduid=d41185f13de8dc3fd36ee65d1a88d9ad81539315133; expires=Sat, 12-Oct-19
|
|
31
|
-
03:32:13 GMT; path=/; domain=.spacexdata.com; HttpOnly; Secure
|
|
32
|
-
Vary:
|
|
33
|
-
- Accept-Encoding, Origin
|
|
34
|
-
X-Dns-Prefetch-Control:
|
|
35
|
-
- 'off'
|
|
36
|
-
X-Frame-Options:
|
|
37
|
-
- SAMEORIGIN
|
|
38
|
-
Strict-Transport-Security:
|
|
39
|
-
- max-age=15552000; includeSubDomains
|
|
40
|
-
X-Download-Options:
|
|
41
|
-
- noopen
|
|
42
|
-
X-Content-Type-Options:
|
|
43
|
-
- nosniff
|
|
44
|
-
X-Xss-Protection:
|
|
45
|
-
- 1; mode=block
|
|
46
|
-
Access-Control-Allow-Origin:
|
|
47
|
-
- "*"
|
|
48
|
-
X-Koa-Redis-Cache:
|
|
49
|
-
- 'true'
|
|
50
|
-
X-Response-Time:
|
|
51
|
-
- 5ms
|
|
52
|
-
Expect-Ct:
|
|
53
|
-
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
|
54
|
-
Server:
|
|
55
|
-
- cloudflare
|
|
56
|
-
Cf-Ray:
|
|
57
|
-
- 46867f8358945717-IAD
|
|
58
|
-
body:
|
|
59
|
-
encoding: ASCII-8BIT
|
|
60
|
-
string: '{"id":1,"active":false,"stages":2,"boosters":0,"cost_per_launch":6700000,"success_rate_pct":40,"first_flight":"2006-03-24","country":"Republic
|
|
61
|
-
of the Marshall Islands","company":"SpaceX","height":{"meters":22.25,"feet":73},"diameter":{"meters":1.68,"feet":5.5},"mass":{"kg":30146,"lb":66460},"payload_weights":[{"id":"leo","name":"Low
|
|
62
|
-
Earth Orbit","kg":450,"lb":992}],"first_stage":{"reusable":false,"engines":1,"fuel_amount_tons":44.3,"burn_time_sec":169,"thrust_sea_level":{"kN":420,"lbf":94000},"thrust_vacuum":{"kN":480,"lbf":110000}},"second_stage":{"engines":1,"fuel_amount_tons":3.38,"burn_time_sec":378,"thrust":{"kN":31,"lbf":7000},"payloads":{"option_1":"composite
|
|
63
|
-
fairing","composite_fairing":{"height":{"meters":3.5,"feet":11.5},"diameter":{"meters":1.5,"feet":4.9}}}},"engines":{"number":1,"type":"merlin","version":"1C","layout":"single","engine_loss_max":0,"propellant_1":"liquid
|
|
64
|
-
oxygen","propellant_2":"RP-1 kerosene","thrust_sea_level":{"kN":420,"lbf":94000},"thrust_vacuum":{"kN":480,"lbf":110000},"thrust_to_weight":96},"landing_legs":{"number":0,"material":null},"flickr_images":["https://www.spacex.com/sites/spacex/files/styles/media_gallery_large/public/2009_-_01_liftoff_south_full_wide_ro8a1280_edit.jpg?itok=8loiSGt1","https://www.spacex.com/sites/spacex/files/styles/media_gallery_large/public/2009_-_02_default_liftoff_west_full_wide_nn6p2062_xl.jpg?itok=p776nHsM"],"wikipedia":"https://en.wikipedia.org/wiki/Falcon_1","description":"The
|
|
65
|
-
Falcon 1 was an expendable launch system privately developed and manufactured
|
|
66
|
-
by SpaceX during 2006-2009. On 28 September 2008, Falcon 1 became the first
|
|
67
|
-
privately-developed liquid-fuel launch vehicle to go into orbit around the
|
|
68
|
-
Earth.","rocket_id":"falcon1","rocket_name":"Falcon 1","rocket_type":"rocket"}'
|
|
69
|
-
http_version:
|
|
70
|
-
recorded_at: Fri, 12 Oct 2018 03:32:14 GMT
|
|
71
|
-
- request:
|
|
72
|
-
method: get
|
|
73
|
-
uri: https://api.spacexdata.com/v3/rockets/falcon1
|
|
74
|
-
body:
|
|
75
|
-
encoding: US-ASCII
|
|
76
|
-
string: ''
|
|
77
|
-
headers:
|
|
78
|
-
User-Agent:
|
|
79
|
-
- Faraday v0.15.3
|
|
80
|
-
Accept-Encoding:
|
|
81
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
82
|
-
Accept:
|
|
83
|
-
- "*/*"
|
|
84
|
-
response:
|
|
85
|
-
status:
|
|
86
|
-
code: 200
|
|
87
|
-
message: OK
|
|
88
|
-
headers:
|
|
89
|
-
Date:
|
|
90
|
-
- Fri, 12 Oct 2018 03:32:14 GMT
|
|
91
|
-
Content-Type:
|
|
92
|
-
- application/json; charset=utf-8
|
|
93
|
-
Transfer-Encoding:
|
|
94
|
-
- chunked
|
|
95
|
-
Connection:
|
|
96
|
-
- keep-alive
|
|
97
|
-
Set-Cookie:
|
|
98
|
-
- __cfduid=d6999e3f035d1724a0d856b2bc6bb33d91539315134; expires=Sat, 12-Oct-19
|
|
99
|
-
03:32:14 GMT; path=/; domain=.spacexdata.com; HttpOnly; Secure
|
|
100
|
-
Vary:
|
|
101
|
-
- Accept-Encoding, Origin
|
|
102
|
-
X-Dns-Prefetch-Control:
|
|
103
|
-
- 'off'
|
|
104
|
-
X-Frame-Options:
|
|
105
|
-
- SAMEORIGIN
|
|
106
|
-
Strict-Transport-Security:
|
|
107
|
-
- max-age=15552000; includeSubDomains
|
|
108
|
-
X-Download-Options:
|
|
109
|
-
- noopen
|
|
110
|
-
X-Content-Type-Options:
|
|
111
|
-
- nosniff
|
|
112
|
-
X-Xss-Protection:
|
|
113
|
-
- 1; mode=block
|
|
114
|
-
Access-Control-Allow-Origin:
|
|
115
|
-
- "*"
|
|
116
|
-
X-Koa-Redis-Cache:
|
|
117
|
-
- 'true'
|
|
118
|
-
X-Response-Time:
|
|
119
|
-
- 1ms
|
|
120
|
-
Expect-Ct:
|
|
121
|
-
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
|
122
|
-
Server:
|
|
123
|
-
- cloudflare
|
|
124
|
-
Cf-Ray:
|
|
125
|
-
- 46867f843e60572f-IAD
|
|
126
|
-
body:
|
|
127
|
-
encoding: ASCII-8BIT
|
|
128
|
-
string: '{"id":1,"active":false,"stages":2,"boosters":0,"cost_per_launch":6700000,"success_rate_pct":40,"first_flight":"2006-03-24","country":"Republic
|
|
129
|
-
of the Marshall Islands","company":"SpaceX","height":{"meters":22.25,"feet":73},"diameter":{"meters":1.68,"feet":5.5},"mass":{"kg":30146,"lb":66460},"payload_weights":[{"id":"leo","name":"Low
|
|
130
|
-
Earth Orbit","kg":450,"lb":992}],"first_stage":{"reusable":false,"engines":1,"fuel_amount_tons":44.3,"burn_time_sec":169,"thrust_sea_level":{"kN":420,"lbf":94000},"thrust_vacuum":{"kN":480,"lbf":110000}},"second_stage":{"engines":1,"fuel_amount_tons":3.38,"burn_time_sec":378,"thrust":{"kN":31,"lbf":7000},"payloads":{"option_1":"composite
|
|
131
|
-
fairing","composite_fairing":{"height":{"meters":3.5,"feet":11.5},"diameter":{"meters":1.5,"feet":4.9}}}},"engines":{"number":1,"type":"merlin","version":"1C","layout":"single","engine_loss_max":0,"propellant_1":"liquid
|
|
132
|
-
oxygen","propellant_2":"RP-1 kerosene","thrust_sea_level":{"kN":420,"lbf":94000},"thrust_vacuum":{"kN":480,"lbf":110000},"thrust_to_weight":96},"landing_legs":{"number":0,"material":null},"flickr_images":["https://www.spacex.com/sites/spacex/files/styles/media_gallery_large/public/2009_-_01_liftoff_south_full_wide_ro8a1280_edit.jpg?itok=8loiSGt1","https://www.spacex.com/sites/spacex/files/styles/media_gallery_large/public/2009_-_02_default_liftoff_west_full_wide_nn6p2062_xl.jpg?itok=p776nHsM"],"wikipedia":"https://en.wikipedia.org/wiki/Falcon_1","description":"The
|
|
133
|
-
Falcon 1 was an expendable launch system privately developed and manufactured
|
|
134
|
-
by SpaceX during 2006-2009. On 28 September 2008, Falcon 1 became the first
|
|
135
|
-
privately-developed liquid-fuel launch vehicle to go into orbit around the
|
|
136
|
-
Earth.","rocket_id":"falcon1","rocket_name":"Falcon 1","rocket_type":"rocket"}'
|
|
137
|
-
http_version:
|
|
138
|
-
recorded_at: Fri, 12 Oct 2018 03:32:14 GMT
|
|
139
|
-
recorded_with: VCR 4.0.0
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
http_interactions:
|
|
3
|
-
- request:
|
|
4
|
-
method: get
|
|
5
|
-
uri: https://api.spacexdata.com/v3/rockets/invalid
|
|
6
|
-
body:
|
|
7
|
-
encoding: US-ASCII
|
|
8
|
-
string: ''
|
|
9
|
-
headers:
|
|
10
|
-
User-Agent:
|
|
11
|
-
- Faraday v0.15.3
|
|
12
|
-
Accept-Encoding:
|
|
13
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
14
|
-
Accept:
|
|
15
|
-
- "*/*"
|
|
16
|
-
response:
|
|
17
|
-
status:
|
|
18
|
-
code: 404
|
|
19
|
-
message: Not Found
|
|
20
|
-
headers:
|
|
21
|
-
Date:
|
|
22
|
-
- Fri, 12 Oct 2018 02:59:50 GMT
|
|
23
|
-
Content-Type:
|
|
24
|
-
- application/json; charset=utf-8
|
|
25
|
-
Transfer-Encoding:
|
|
26
|
-
- chunked
|
|
27
|
-
Connection:
|
|
28
|
-
- keep-alive
|
|
29
|
-
Set-Cookie:
|
|
30
|
-
- __cfduid=d64b40402217803e462c3cd3b6aad69261539313190; expires=Sat, 12-Oct-19
|
|
31
|
-
02:59:50 GMT; path=/; domain=.spacexdata.com; HttpOnly; Secure
|
|
32
|
-
Vary:
|
|
33
|
-
- Accept-Encoding, Origin
|
|
34
|
-
X-Dns-Prefetch-Control:
|
|
35
|
-
- 'off'
|
|
36
|
-
X-Frame-Options:
|
|
37
|
-
- SAMEORIGIN
|
|
38
|
-
Strict-Transport-Security:
|
|
39
|
-
- max-age=15552000; includeSubDomains
|
|
40
|
-
X-Download-Options:
|
|
41
|
-
- noopen
|
|
42
|
-
X-Content-Type-Options:
|
|
43
|
-
- nosniff
|
|
44
|
-
X-Xss-Protection:
|
|
45
|
-
- 1; mode=block
|
|
46
|
-
Access-Control-Allow-Origin:
|
|
47
|
-
- "*"
|
|
48
|
-
X-Response-Time:
|
|
49
|
-
- 42ms
|
|
50
|
-
Expect-Ct:
|
|
51
|
-
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
|
52
|
-
Server:
|
|
53
|
-
- cloudflare
|
|
54
|
-
Cf-Ray:
|
|
55
|
-
- 46865010ac54c181-IAD
|
|
56
|
-
body:
|
|
57
|
-
encoding: ASCII-8BIT
|
|
58
|
-
string: '{"error":"Not Found"}'
|
|
59
|
-
http_version:
|
|
60
|
-
recorded_at: Fri, 12 Oct 2018 02:59:50 GMT
|
|
61
|
-
recorded_with: VCR 4.0.0
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
http_interactions:
|
|
3
|
-
- request:
|
|
4
|
-
method: get
|
|
5
|
-
uri: https://api.spacexdata.com/v3/rockets/
|
|
6
|
-
body:
|
|
7
|
-
encoding: US-ASCII
|
|
8
|
-
string: ''
|
|
9
|
-
headers:
|
|
10
|
-
User-Agent:
|
|
11
|
-
- Faraday v0.15.3
|
|
12
|
-
Accept-Encoding:
|
|
13
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
14
|
-
Accept:
|
|
15
|
-
- "*/*"
|
|
16
|
-
response:
|
|
17
|
-
status:
|
|
18
|
-
code: 200
|
|
19
|
-
message: OK
|
|
20
|
-
headers:
|
|
21
|
-
Date:
|
|
22
|
-
- Mon, 15 Oct 2018 02:30:31 GMT
|
|
23
|
-
Content-Type:
|
|
24
|
-
- application/json; charset=utf-8
|
|
25
|
-
Transfer-Encoding:
|
|
26
|
-
- chunked
|
|
27
|
-
Connection:
|
|
28
|
-
- keep-alive
|
|
29
|
-
Set-Cookie:
|
|
30
|
-
- __cfduid=d6c387af0e7ce1c45514171410c9a2b3a1539570631; expires=Tue, 15-Oct-19
|
|
31
|
-
02:30:31 GMT; path=/; domain=.spacexdata.com; HttpOnly; Secure
|
|
32
|
-
Vary:
|
|
33
|
-
- Accept-Encoding, Origin
|
|
34
|
-
X-Dns-Prefetch-Control:
|
|
35
|
-
- 'off'
|
|
36
|
-
X-Frame-Options:
|
|
37
|
-
- SAMEORIGIN
|
|
38
|
-
Strict-Transport-Security:
|
|
39
|
-
- max-age=15552000; includeSubDomains
|
|
40
|
-
X-Download-Options:
|
|
41
|
-
- noopen
|
|
42
|
-
X-Content-Type-Options:
|
|
43
|
-
- nosniff
|
|
44
|
-
X-Xss-Protection:
|
|
45
|
-
- 1; mode=block
|
|
46
|
-
Access-Control-Allow-Origin:
|
|
47
|
-
- "*"
|
|
48
|
-
X-Response-Time:
|
|
49
|
-
- 45ms
|
|
50
|
-
Expect-Ct:
|
|
51
|
-
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
|
52
|
-
Server:
|
|
53
|
-
- cloudflare
|
|
54
|
-
Cf-Ray:
|
|
55
|
-
- 469edd3e38b0242c-IAD
|
|
56
|
-
body:
|
|
57
|
-
encoding: ASCII-8BIT
|
|
58
|
-
string: '[{"id":1,"active":false,"stages":2,"boosters":0,"cost_per_launch":6700000,"success_rate_pct":40,"first_flight":"2006-03-24","country":"Republic
|
|
59
|
-
of the Marshall Islands","company":"SpaceX","height":{"meters":22.25,"feet":73},"diameter":{"meters":1.68,"feet":5.5},"mass":{"kg":30146,"lb":66460},"payload_weights":[{"id":"leo","name":"Low
|
|
60
|
-
Earth Orbit","kg":450,"lb":992}],"first_stage":{"reusable":false,"engines":1,"fuel_amount_tons":44.3,"burn_time_sec":169,"thrust_sea_level":{"kN":420,"lbf":94000},"thrust_vacuum":{"kN":480,"lbf":110000}},"second_stage":{"engines":1,"fuel_amount_tons":3.38,"burn_time_sec":378,"thrust":{"kN":31,"lbf":7000},"payloads":{"option_1":"composite
|
|
61
|
-
fairing","composite_fairing":{"height":{"meters":3.5,"feet":11.5},"diameter":{"meters":1.5,"feet":4.9}}}},"engines":{"number":1,"type":"merlin","version":"1C","layout":"single","engine_loss_max":0,"propellant_1":"liquid
|
|
62
|
-
oxygen","propellant_2":"RP-1 kerosene","thrust_sea_level":{"kN":420,"lbf":94000},"thrust_vacuum":{"kN":480,"lbf":110000},"thrust_to_weight":96},"landing_legs":{"number":0,"material":null},"flickr_images":["https://www.spacex.com/sites/spacex/files/styles/media_gallery_large/public/2009_-_01_liftoff_south_full_wide_ro8a1280_edit.jpg?itok=8loiSGt1","https://www.spacex.com/sites/spacex/files/styles/media_gallery_large/public/2009_-_02_default_liftoff_west_full_wide_nn6p2062_xl.jpg?itok=p776nHsM"],"wikipedia":"https://en.wikipedia.org/wiki/Falcon_1","description":"The
|
|
63
|
-
Falcon 1 was an expendable launch system privately developed and manufactured
|
|
64
|
-
by SpaceX during 2006-2009. On 28 September 2008, Falcon 1 became the first
|
|
65
|
-
privately-developed liquid-fuel launch vehicle to go into orbit around the
|
|
66
|
-
Earth.","rocket_id":"falcon1","rocket_name":"Falcon 1","rocket_type":"rocket"},{"id":2,"active":true,"stages":2,"boosters":0,"cost_per_launch":50000000,"success_rate_pct":97,"first_flight":"2010-06-04","country":"United
|
|
67
|
-
States","company":"SpaceX","height":{"meters":70,"feet":229.6},"diameter":{"meters":3.7,"feet":12},"mass":{"kg":549054,"lb":1207920},"payload_weights":[{"id":"leo","name":"Low
|
|
68
|
-
Earth Orbit","kg":22800,"lb":50265},{"id":"gto","name":"Geosynchronous Transfer
|
|
69
|
-
Orbit","kg":8300,"lb":18300},{"id":"mars","name":"Mars Orbit","kg":4020,"lb":8860}],"first_stage":{"reusable":true,"engines":9,"fuel_amount_tons":385,"burn_time_sec":162,"thrust_sea_level":{"kN":7607,"lbf":1710000},"thrust_vacuum":{"kN":8227,"lbf":1849500}},"second_stage":{"engines":1,"fuel_amount_tons":90,"burn_time_sec":397,"thrust":{"kN":934,"lbf":210000},"payloads":{"option_1":"dragon","option_2":"composite
|
|
70
|
-
fairing","composite_fairing":{"height":{"meters":13.1,"feet":43},"diameter":{"meters":5.2,"feet":17.1}}}},"engines":{"number":9,"type":"merlin","version":"1D+","layout":"octaweb","engine_loss_max":2,"propellant_1":"liquid
|
|
71
|
-
oxygen","propellant_2":"RP-1 kerosene","thrust_sea_level":{"kN":845,"lbf":190000},"thrust_vacuum":{"kN":914,"lbf":205500},"thrust_to_weight":180.1},"landing_legs":{"number":4,"material":"carbon
|
|
72
|
-
fiber"},"flickr_images":["https://farm1.staticflickr.com/929/28787338307_3453a11a77_b.jpg","https://farm4.staticflickr.com/3955/32915197674_eee74d81bb_b.jpg","https://farm1.staticflickr.com/293/32312415025_6841e30bf1_b.jpg","https://farm1.staticflickr.com/623/23660653516_5b6cb301d1_b.jpg","https://farm6.staticflickr.com/5518/31579784413_d853331601_b.jpg","https://farm1.staticflickr.com/745/32394687645_a9c54a34ef_b.jpg"],"wikipedia":"https://en.wikipedia.org/wiki/Falcon_9","description":"Falcon
|
|
73
|
-
9 is a two-stage rocket designed and manufactured by SpaceX for the reliable
|
|
74
|
-
and safe transport of satellites and the Dragon spacecraft into orbit.","rocket_id":"falcon9","rocket_name":"Falcon
|
|
75
|
-
9","rocket_type":"rocket"},{"id":3,"active":true,"stages":2,"boosters":2,"cost_per_launch":90000000,"success_rate_pct":100,"first_flight":"2018-02-06","country":"United
|
|
76
|
-
States","company":"SpaceX","height":{"meters":70,"feet":229.6},"diameter":{"meters":12.2,"feet":39.9},"mass":{"kg":1420788,"lb":3125735},"payload_weights":[{"id":"leo","name":"Low
|
|
77
|
-
Earth Orbit","kg":63800,"lb":140660},{"id":"gto","name":"Geosynchronous Transfer
|
|
78
|
-
Orbit","kg":26700,"lb":58860},{"id":"mars","name":"Mars Orbit","kg":16800,"lb":37040},{"id":"pluto","name":"Pluto
|
|
79
|
-
Orbit","kg":3500,"lb":7720}],"first_stage":{"reusable":true,"engines":27,"fuel_amount_tons":1155,"cores":3,"burn_time_sec":162,"thrust_sea_level":{"kN":22819,"lbf":5130000},"thrust_vacuum":{"kN":24681,"lbf":5548500}},"second_stage":{"engines":1,"burn_time_sec":397,"thrust":{"kN":934,"lbf":210000},"payloads":{"option_1":"dragon","option_2":"composite
|
|
80
|
-
fairing","composite_fairing":{"height":{"meters":13.1,"feet":43},"diameter":{"meters":5.2,"feet":17.1}}}},"engines":{"number":27,"type":"merlin","version":"1D+","layout":"octaweb","engine_loss_max":6,"propellant_1":"liquid
|
|
81
|
-
oxygen","propellant_2":"RP-1 kerosene","thrust_sea_level":{"kN":845,"lbf":190000},"thrust_vacuum":{"kN":914,"lbf":205500},"thrust_to_weight":180.1},"landing_legs":{"number":12,"material":"carbon
|
|
82
|
-
fiber"},"flickr_images":["https://farm5.staticflickr.com/4599/38583829295_581f34dd84_b.jpg","https://farm5.staticflickr.com/4645/38583830575_3f0f7215e6_b.jpg","https://farm5.staticflickr.com/4696/40126460511_b15bf84c85_b.jpg","https://farm5.staticflickr.com/4711/40126461411_aabc643fd8_b.jpg"],"wikipedia":"https://en.wikipedia.org/wiki/Falcon_Heavy","description":"With
|
|
83
|
-
the ability to lift into orbit over 54 metric tons (119,000 lb)--a mass equivalent
|
|
84
|
-
to a 737 jetliner loaded with passengers, crew, luggage and fuel--Falcon Heavy
|
|
85
|
-
can lift more than twice the payload of the next closest operational vehicle,
|
|
86
|
-
the Delta IV Heavy, at one-third the cost.","rocket_id":"falconheavy","rocket_name":"Falcon
|
|
87
|
-
Heavy","rocket_type":"rocket"},{"id":4,"active":false,"stages":2,"boosters":0,"cost_per_launch":7000000,"success_rate_pct":0,"first_flight":"2019-12-01","country":"United
|
|
88
|
-
States","company":"SpaceX","height":{"meters":118,"feet":387},"diameter":{"meters":9,"feet":30},"mass":{"kg":4400000,"lb":9700000},"payload_weights":[{"id":"leo","name":"Low
|
|
89
|
-
Earth Orbit","kg":150000,"lb":330000},{"id":"mars","name":"Mars Orbit","kg":100000,"lb":220000}],"first_stage":{"reusable":true,"engines":31,"fuel_amount_tons":6700,"burn_time_sec":0,"thrust_sea_level":{"kN":128000,"lbf":28775544},"thrust_vacuum":{"kN":138000,"lbf":31023634}},"second_stage":{"engines":6,"fuel_amount_tons":1100,"burn_time_sec":0,"thrust":{"kN":1900,"lbf":427136},"payloads":{"option_1":"Spaceship","option_2":"composite
|
|
90
|
-
fairing","composite_fairing":{"height":{"meters":null,"feet":null},"diameter":{"meters":null,"feet":null}}}},"engines":{"number":31,"type":"raptor","version":"","layout":null,"engine_loss_max":null,"propellant_1":"liquid
|
|
91
|
-
oxygen","propellant_2":"liquid methane","thrust_sea_level":{"kN":1700,"lbf":382175},"thrust_vacuum":{"kN":1900,"lbf":427136},"thrust_to_weight":null},"landing_legs":{"number":4,"material":"carbon
|
|
92
|
-
fiber"},"flickr_images":["https://farm2.staticflickr.com/1861/30934146988_f3de261bb4_b.jpg","https://farm2.staticflickr.com/1854/30934146778_765ea9f486_b.jpg","https://farm2.staticflickr.com/1898/30934147078_31b54027b0_b.jpg","https://farm2.staticflickr.com/1845/43895099105_7329ee6bba_b.jpg"],"wikipedia":"https://en.wikipedia.org/wiki/BFR_(rocket)","description":"BFR
|
|
93
|
-
is a privately funded next-generation reusable launch vehicle and spacecraft
|
|
94
|
-
system developed by SpaceX. It was announced by Elon Musk in September 2017;
|
|
95
|
-
the first spacecraft prototype was being manufactured as of March 2018 and
|
|
96
|
-
will begin testing in early 2019. The overall space vehicle architecture includes
|
|
97
|
-
both launch vehicles and spacecraft that are intended to completely replace
|
|
98
|
-
all of SpaceX''s existing space hardware by the early 2020s as well as ground
|
|
99
|
-
infrastructure for rapid launch and relaunch, and zero-gravity propellant
|
|
100
|
-
transfer technology to be deployed in low Earth orbit (LEO). The large payload
|
|
101
|
-
to Earth orbit of up to 150,000 kg (330,000 lb) makes BFR a super heavy-lift
|
|
102
|
-
launch vehicle.","rocket_id":"bfr","rocket_name":"Big Falcon Rocket","rocket_type":"rocket"}]'
|
|
103
|
-
http_version:
|
|
104
|
-
recorded_at: Mon, 15 Oct 2018 02:30:31 GMT
|
|
105
|
-
recorded_with: VCR 4.0.0
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
http_interactions:
|
|
3
|
-
- request:
|
|
4
|
-
method: get
|
|
5
|
-
uri: https://api.spacexdata.com/v3/ships/AMERICANCHAMPION
|
|
6
|
-
body:
|
|
7
|
-
encoding: US-ASCII
|
|
8
|
-
string: ''
|
|
9
|
-
headers:
|
|
10
|
-
User-Agent:
|
|
11
|
-
- Faraday v0.15.3
|
|
12
|
-
Accept-Encoding:
|
|
13
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
14
|
-
Accept:
|
|
15
|
-
- "*/*"
|
|
16
|
-
response:
|
|
17
|
-
status:
|
|
18
|
-
code: 200
|
|
19
|
-
message: OK
|
|
20
|
-
headers:
|
|
21
|
-
Date:
|
|
22
|
-
- Fri, 05 Oct 2018 19:00:12 GMT
|
|
23
|
-
Content-Type:
|
|
24
|
-
- application/json; charset=utf-8
|
|
25
|
-
Transfer-Encoding:
|
|
26
|
-
- chunked
|
|
27
|
-
Connection:
|
|
28
|
-
- keep-alive
|
|
29
|
-
Set-Cookie:
|
|
30
|
-
- __cfduid=db633aca71c38e51c176c604f9807a8081538766012; expires=Sat, 05-Oct-19
|
|
31
|
-
19:00:12 GMT; path=/; domain=.spacexdata.com; HttpOnly; Secure
|
|
32
|
-
Vary:
|
|
33
|
-
- Accept-Encoding, Origin
|
|
34
|
-
X-Dns-Prefetch-Control:
|
|
35
|
-
- 'off'
|
|
36
|
-
X-Frame-Options:
|
|
37
|
-
- SAMEORIGIN
|
|
38
|
-
Strict-Transport-Security:
|
|
39
|
-
- max-age=15552000; includeSubDomains
|
|
40
|
-
X-Download-Options:
|
|
41
|
-
- noopen
|
|
42
|
-
X-Content-Type-Options:
|
|
43
|
-
- nosniff
|
|
44
|
-
X-Xss-Protection:
|
|
45
|
-
- 1; mode=block
|
|
46
|
-
Access-Control-Allow-Origin:
|
|
47
|
-
- "*"
|
|
48
|
-
X-Response-Time:
|
|
49
|
-
- 37ms
|
|
50
|
-
Expect-Ct:
|
|
51
|
-
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
|
52
|
-
Server:
|
|
53
|
-
- cloudflare
|
|
54
|
-
Cf-Ray:
|
|
55
|
-
- 46522137ff1354d4-ORD
|
|
56
|
-
body:
|
|
57
|
-
encoding: ASCII-8BIT
|
|
58
|
-
string: '{"ship_id":"AMERICANCHAMPION","ship_name":"American Champion","ship_model":null,"ship_type":"Tug","roles":["Support
|
|
59
|
-
Ship","Barge Tug"],"active":false,"imo":7434016,"mmsi":367020820,"abs":571252,"class":7604342,"weight_lbs":588000,"weight_kg":266712,"year_built":1976,"home_port":"Port
|
|
60
|
-
of Los Angeles","status":"Stopped","speed_kn":0,"course_deg":null,"position":{"latitude":30.52852,"longitude":-88.09869},"successful_landings":null,"attempted_landings":null,"missions":[{"name":"COTS
|
|
61
|
-
1","flight":7},{"name":"COTS 2","flight":8}],"url":"https://www.marinetraffic.com/en/ais/details/ships/shipid:434663/vessel:AMERICAN%20CHAMPION","image":"https://i.imgur.com/woCxpkj.jpg"}'
|
|
62
|
-
http_version:
|
|
63
|
-
recorded_at: Fri, 05 Oct 2018 19:00:12 GMT
|
|
64
|
-
- request:
|
|
65
|
-
method: get
|
|
66
|
-
uri: https://api.spacexdata.com/v3/ships/AMERICANCHAMPION
|
|
67
|
-
body:
|
|
68
|
-
encoding: US-ASCII
|
|
69
|
-
string: ''
|
|
70
|
-
headers:
|
|
71
|
-
User-Agent:
|
|
72
|
-
- Faraday v0.15.3
|
|
73
|
-
Accept-Encoding:
|
|
74
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
75
|
-
Accept:
|
|
76
|
-
- "*/*"
|
|
77
|
-
response:
|
|
78
|
-
status:
|
|
79
|
-
code: 200
|
|
80
|
-
message: OK
|
|
81
|
-
headers:
|
|
82
|
-
Date:
|
|
83
|
-
- Thu, 11 Oct 2018 03:02:44 GMT
|
|
84
|
-
Content-Type:
|
|
85
|
-
- application/json; charset=utf-8
|
|
86
|
-
Transfer-Encoding:
|
|
87
|
-
- chunked
|
|
88
|
-
Connection:
|
|
89
|
-
- keep-alive
|
|
90
|
-
Set-Cookie:
|
|
91
|
-
- __cfduid=d437fef05110b7e6103aa3da28aa498611539226964; expires=Fri, 11-Oct-19
|
|
92
|
-
03:02:44 GMT; path=/; domain=.spacexdata.com; HttpOnly; Secure
|
|
93
|
-
Vary:
|
|
94
|
-
- Accept-Encoding, Origin
|
|
95
|
-
X-Dns-Prefetch-Control:
|
|
96
|
-
- 'off'
|
|
97
|
-
X-Frame-Options:
|
|
98
|
-
- SAMEORIGIN
|
|
99
|
-
Strict-Transport-Security:
|
|
100
|
-
- max-age=15552000; includeSubDomains
|
|
101
|
-
X-Download-Options:
|
|
102
|
-
- noopen
|
|
103
|
-
X-Content-Type-Options:
|
|
104
|
-
- nosniff
|
|
105
|
-
X-Xss-Protection:
|
|
106
|
-
- 1; mode=block
|
|
107
|
-
Access-Control-Allow-Origin:
|
|
108
|
-
- "*"
|
|
109
|
-
X-Response-Time:
|
|
110
|
-
- 48ms
|
|
111
|
-
Expect-Ct:
|
|
112
|
-
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
|
113
|
-
Server:
|
|
114
|
-
- cloudflare
|
|
115
|
-
Cf-Ray:
|
|
116
|
-
- 467e16ede8d55a8c-BOS
|
|
117
|
-
body:
|
|
118
|
-
encoding: ASCII-8BIT
|
|
119
|
-
string: '{"ship_id":"AMERICANCHAMPION","ship_name":"American Champion","ship_model":null,"ship_type":"Tug","roles":["Support
|
|
120
|
-
Ship","Barge Tug"],"active":false,"imo":7434016,"mmsi":367020820,"abs":571252,"class":7604342,"weight_lbs":588000,"weight_kg":266712,"year_built":1976,"home_port":"Port
|
|
121
|
-
of Los Angeles","status":"Stopped","speed_kn":0,"course_deg":null,"position":{"latitude":30.52758,"longitude":-88.10258},"successful_landings":null,"attempted_landings":null,"missions":[{"name":"COTS
|
|
122
|
-
1","flight":7},{"name":"COTS 2","flight":8}],"url":"https://www.marinetraffic.com/en/ais/details/ships/shipid:434663/vessel:AMERICAN%20CHAMPION","image":"https://i.imgur.com/woCxpkj.jpg"}'
|
|
123
|
-
http_version:
|
|
124
|
-
recorded_at: Thu, 11 Oct 2018 03:02:44 GMT
|
|
125
|
-
recorded_with: VCR 4.0.0
|