Repository navigation
Expand file tree
/
Copy pathSampleJSON.js
More file actions
235 lines (235 loc) · 7.53 KB
/
Copy pathSampleJSON.js
File metadata and controls
235 lines (235 loc) · 7.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
var data = {
count: 37,
next: "https://swapi.co/api/starships/?page=2",
previous: null,
results: [
{
name: "Executor",
model: "Executor-class star dreadnought",
manufacturer: "Kuat Drive Yards, Fondor Shipyards",
cost_in_credits: "1143350000",
length: "19000",
max_atmosphering_speed: "n/a",
crew: "279144",
passengers: "38000",
cargo_capacity: "250000000",
consumables: "6 years",
hyperdrive_rating: "2.0",
MGLT: "40",
starship_class: "Star dreadnought",
pilots: [],
films: ["https://swapi.co/api/films/2/", "https://swapi.co/api/films/3/"],
created: "2014-12-15T12:31:42.547000Z",
edited: "2017-04-19T10:56:06.685592Z",
url: "https://swapi.co/api/starships/15/"
},
{
name: "Sentinel-class landing craft",
model: "Sentinel-class landing craft",
manufacturer: "Sienar Fleet Systems, Cyngus Spaceworks",
cost_in_credits: "240000",
length: "38",
max_atmosphering_speed: "1000",
crew: "5",
passengers: "75",
cargo_capacity: "180000",
consumables: "1 month",
hyperdrive_rating: "1.0",
MGLT: "70",
starship_class: "landing craft",
pilots: [],
films: ["https://swapi.co/api/films/1/"],
created: "2014-12-10T15:48:00.586000Z",
edited: "2014-12-22T17:35:44.431407Z",
url: "https://swapi.co/api/starships/5/"
},
{
name: "Death Star",
model: "DS-1 Orbital Battle Station",
manufacturer:
"Imperial Department of Military Research, Sienar Fleet Systems",
cost_in_credits: "1000000000000",
length: "120000",
max_atmosphering_speed: "n/a",
crew: "342953",
passengers: "843342",
cargo_capacity: "1000000000000",
consumables: "3 years",
hyperdrive_rating: "4.0",
MGLT: "10",
starship_class: "Deep Space Mobile Battlestation",
pilots: [],
films: ["https://swapi.co/api/films/1/"],
created: "2014-12-10T16:36:50.509000Z",
edited: "2014-12-22T17:35:44.452589Z",
url: "https://swapi.co/api/starships/9/"
},
{
name: "Millennium Falcon",
model: "YT-1300 light freighter",
manufacturer: "Corellian Engineering Corporation",
cost_in_credits: "100000",
length: "34.37",
max_atmosphering_speed: "1050",
crew: "4",
passengers: "6",
cargo_capacity: "100000",
consumables: "2 months",
hyperdrive_rating: "0.5",
MGLT: "75",
starship_class: "Light freighter",
pilots: [
"https://swapi.co/api/people/13/",
"https://swapi.co/api/people/14/",
"https://swapi.co/api/people/25/",
"https://swapi.co/api/people/31/"
],
films: [
"https://swapi.co/api/films/2/",
"https://swapi.co/api/films/7/",
"https://swapi.co/api/films/3/",
"https://swapi.co/api/films/1/"
],
created: "2014-12-10T16:59:45.094000Z",
edited: "2014-12-22T17:35:44.464156Z",
url: "https://swapi.co/api/starships/10/"
},
{
name: "Y-wing",
model: "BTL Y-wing",
manufacturer: "Koensayr Manufacturing",
cost_in_credits: "134999",
length: "14",
max_atmosphering_speed: "1000km",
crew: "2",
passengers: "0",
cargo_capacity: "110",
consumables: "1 week",
hyperdrive_rating: "1.0",
MGLT: "80",
starship_class: "assault starfighter",
pilots: [],
films: [
"https://swapi.co/api/films/2/",
"https://swapi.co/api/films/3/",
"https://swapi.co/api/films/1/"
],
created: "2014-12-12T11:00:39.817000Z",
edited: "2014-12-22T17:35:44.479706Z",
url: "https://swapi.co/api/starships/11/"
},
{
name: "X-wing",
model: "T-65 X-wing",
manufacturer: "Incom Corporation",
cost_in_credits: "149999",
length: "12.5",
max_atmosphering_speed: "1050",
crew: "1",
passengers: "0",
cargo_capacity: "110",
consumables: "1 week",
hyperdrive_rating: "1.0",
MGLT: "100",
starship_class: "Starfighter",
pilots: [
"https://swapi.co/api/people/1/",
"https://swapi.co/api/people/9/",
"https://swapi.co/api/people/18/",
"https://swapi.co/api/people/19/"
],
films: [
"https://swapi.co/api/films/2/",
"https://swapi.co/api/films/3/",
"https://swapi.co/api/films/1/"
],
created: "2014-12-12T11:19:05.340000Z",
edited: "2014-12-22T17:35:44.491233Z",
url: "https://swapi.co/api/starships/12/"
},
{
name: "TIE Advanced x1",
model: "Twin Ion Engine Advanced x1",
manufacturer: "Sienar Fleet Systems",
cost_in_credits: "unknown",
length: "9.2",
max_atmosphering_speed: "1200",
crew: "1",
passengers: "0",
cargo_capacity: "150",
consumables: "5 days",
hyperdrive_rating: "1.0",
MGLT: "105",
starship_class: "Starfighter",
pilots: ["https://swapi.co/api/people/4/"],
films: ["https://swapi.co/api/films/1/"],
created: "2014-12-12T11:21:32.991000Z",
edited: "2014-12-22T17:35:44.549047Z",
url: "https://swapi.co/api/starships/13/"
},
{
name: "Slave 1",
model: "Firespray-31-class patrol and attack",
manufacturer: "Kuat Systems Engineering",
cost_in_credits: "unknown",
length: "21.5",
max_atmosphering_speed: "1000",
crew: "1",
passengers: "6",
cargo_capacity: "70000",
consumables: "1 month",
hyperdrive_rating: "3.0",
MGLT: "70",
starship_class: "Patrol craft",
pilots: ["https://swapi.co/api/people/22/"],
films: ["https://swapi.co/api/films/2/", "https://swapi.co/api/films/5/"],
created: "2014-12-15T13:00:56.332000Z",
edited: "2014-12-22T17:35:44.716273Z",
url: "https://swapi.co/api/starships/21/"
},
{
name: "Imperial shuttle",
model: "Lambda-class T-4a shuttle",
manufacturer: "Sienar Fleet Systems",
cost_in_credits: "240000",
length: "20",
max_atmosphering_speed: "850",
crew: "6",
passengers: "20",
cargo_capacity: "80000",
consumables: "2 months",
hyperdrive_rating: "1.0",
MGLT: "50",
starship_class: "Armed government transport",
pilots: [
"https://swapi.co/api/people/1/",
"https://swapi.co/api/people/13/",
"https://swapi.co/api/people/14/"
],
films: ["https://swapi.co/api/films/2/", "https://swapi.co/api/films/3/"],
created: "2014-12-15T13:04:47.235000Z",
edited: "2014-12-22T17:35:44.795405Z",
url: "https://swapi.co/api/starships/22/"
},
{
name: "EF76 Nebulon-B escort frigate",
model: "EF76 Nebulon-B escort frigate",
manufacturer: "Kuat Drive Yards",
cost_in_credits: "8500000",
length: "300",
max_atmosphering_speed: "800",
crew: "854",
passengers: "75",
cargo_capacity: "6000000",
consumables: "2 years",
hyperdrive_rating: "2.0",
MGLT: "40",
starship_class: "Escort ship",
pilots: [],
films: ["https://swapi.co/api/films/2/", "https://swapi.co/api/films/3/"],
created: "2014-12-15T13:06:30.813000Z",
edited: "2014-12-22T17:35:44.848329Z",
url: "https://swapi.co/api/starships/23/"
}
]
};