sabre_dev_studio-flight 1.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.
Files changed (38) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +18 -0
  3. data/Gemfile +5 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +54 -0
  6. data/Rakefile +20 -0
  7. data/lib/sabre_dev_studio-flight/airports_at_cities_lookup.rb +13 -0
  8. data/lib/sabre_dev_studio-flight/api.rb +209 -0
  9. data/lib/sabre_dev_studio-flight/city_pairs_lookup.rb +13 -0
  10. data/lib/sabre_dev_studio-flight/destination_finder.rb +13 -0
  11. data/lib/sabre_dev_studio-flight/fare_range.rb +13 -0
  12. data/lib/sabre_dev_studio-flight/instaflights_search.rb +13 -0
  13. data/lib/sabre_dev_studio-flight/lead_price_calendar.rb +13 -0
  14. data/lib/sabre_dev_studio-flight/low_fare_forecast.rb +13 -0
  15. data/lib/sabre_dev_studio-flight/multiairport_city_lookup.rb +13 -0
  16. data/lib/sabre_dev_studio-flight/shop/streamlined_destinations.rb +38 -0
  17. data/lib/sabre_dev_studio-flight/shop/streamlined_itineraries.rb +225 -0
  18. data/lib/sabre_dev_studio-flight/theme_airport_lookup.rb +13 -0
  19. data/lib/sabre_dev_studio-flight/travel_seasonality.rb +13 -0
  20. data/lib/sabre_dev_studio-flight/travel_theme_lookup.rb +13 -0
  21. data/lib/sabre_dev_studio-flight/version.rb +5 -0
  22. data/lib/sabre_dev_studio-flight.rb +6 -0
  23. data/sabre_dev_studio-flight.gemspec +24 -0
  24. data/test/api_test.rb +194 -0
  25. data/test/fixtures/air_shopping_themes.json +113 -0
  26. data/test/fixtures/airports_at_cities_lookup.json +26 -0
  27. data/test/fixtures/city_pairs.json +16708 -0
  28. data/test/fixtures/destination_air_shop.json +481 -0
  29. data/test/fixtures/fare_range.json +35 -0
  30. data/test/fixtures/future_dates_lead_fare_shop.json +2525 -0
  31. data/test/fixtures/low_fare_forecast.json +28 -0
  32. data/test/fixtures/multiairport_city_lookup.json +164 -0
  33. data/test/fixtures/single_date_air_shop.json +352 -0
  34. data/test/fixtures/theme_airport_lookup.json +77 -0
  35. data/test/fixtures/theme_airports.json +32 -0
  36. data/test/fixtures/travel_seasonality.json +379 -0
  37. data/test/test_helper.rb +32 -0
  38. metadata +149 -0
@@ -0,0 +1,481 @@
1
+ {
2
+ "OriginLocation": "LAS",
3
+ "FareInfo": [
4
+ {
5
+ "LowestFare": 158,
6
+ "DestinationLocation": "DEN",
7
+ "CurrencyCode": "USD",
8
+ "LowestNonStopFare": 158,
9
+ "DepartureDateTime": "2014-04-10T00:00:00",
10
+ "ReturnDateTime": "2014-04-11T00:00:00",
11
+ "Theme": "MOUNTAINS",
12
+ "Links": [
13
+ {
14
+ "rel": "shop",
15
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-04-10&returndate=2014-04-11"
16
+ }
17
+ ]
18
+ },
19
+ {
20
+ "LowestFare": 158,
21
+ "DestinationLocation": "DEN",
22
+ "LowestNonStopFare": 158,
23
+ "CurrencyCode": "USD",
24
+ "DepartureDateTime": "2014-04-11T00:00:00",
25
+ "ReturnDateTime": "2014-04-12T00:00:00",
26
+ "Theme": "MOUNTAINS",
27
+ "Links": [
28
+ {
29
+ "rel": "shop",
30
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-04-11&returndate=2014-04-12"
31
+ }
32
+ ]
33
+ },
34
+ {
35
+ "LowestFare": 158,
36
+ "DestinationLocation": "DEN",
37
+ "CurrencyCode": "USD",
38
+ "LowestNonStopFare": 158,
39
+ "DepartureDateTime": "2014-04-12T00:00:00",
40
+ "ReturnDateTime": "2014-04-13T00:00:00",
41
+ "Theme": "MOUNTAINS",
42
+ "Links": [
43
+ {
44
+ "rel": "shop",
45
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-04-12&returndate=2014-04-13"
46
+ }
47
+ ]
48
+ },
49
+ {
50
+ "LowestFare": 158,
51
+ "DestinationLocation": "DEN",
52
+ "LowestNonStopFare": 158,
53
+ "CurrencyCode": "USD",
54
+ "DepartureDateTime": "2014-04-13T00:00:00",
55
+ "ReturnDateTime": "2014-04-14T00:00:00",
56
+ "Theme": "MOUNTAINS",
57
+ "Links": [
58
+ {
59
+ "rel": "shop",
60
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-04-13&returndate=2014-04-14"
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "LowestFare": 138,
66
+ "DestinationLocation": "DEN",
67
+ "CurrencyCode": "USD",
68
+ "LowestNonStopFare": 138,
69
+ "DepartureDateTime": "2014-04-14T00:00:00",
70
+ "ReturnDateTime": "2014-04-15T00:00:00",
71
+ "Theme": "MOUNTAINS",
72
+ "Links": [
73
+ {
74
+ "rel": "shop",
75
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-04-14&returndate=2014-04-15"
76
+ }
77
+ ]
78
+ },
79
+ {
80
+ "LowestFare": 138,
81
+ "DestinationLocation": "DEN",
82
+ "LowestNonStopFare": 138,
83
+ "CurrencyCode": "USD",
84
+ "DepartureDateTime": "2014-04-15T00:00:00",
85
+ "ReturnDateTime": "2014-04-16T00:00:00",
86
+ "Theme": "MOUNTAINS",
87
+ "Links": [
88
+ {
89
+ "rel": "shop",
90
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-04-15&returndate=2014-04-16"
91
+ }
92
+ ]
93
+ },
94
+ {
95
+ "LowestFare": 138,
96
+ "DestinationLocation": "DEN",
97
+ "LowestNonStopFare": 138,
98
+ "CurrencyCode": "USD",
99
+ "DepartureDateTime": "2014-04-16T00:00:00",
100
+ "ReturnDateTime": "2014-04-17T00:00:00",
101
+ "Theme": "MOUNTAINS",
102
+ "Links": [
103
+ {
104
+ "rel": "shop",
105
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-04-16&returndate=2014-04-17"
106
+ }
107
+ ]
108
+ },
109
+ {
110
+ "LowestFare": 138,
111
+ "DestinationLocation": "DEN",
112
+ "LowestNonStopFare": 138,
113
+ "CurrencyCode": "USD",
114
+ "DepartureDateTime": "2014-04-17T00:00:00",
115
+ "ReturnDateTime": "2014-04-18T00:00:00",
116
+ "Theme": "MOUNTAINS",
117
+ "Links": [
118
+ {
119
+ "rel": "shop",
120
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-04-17&returndate=2014-04-18"
121
+ }
122
+ ]
123
+ },
124
+ {
125
+ "LowestFare": 138,
126
+ "DestinationLocation": "DEN",
127
+ "CurrencyCode": "USD",
128
+ "LowestNonStopFare": 138,
129
+ "DepartureDateTime": "2014-04-18T00:00:00",
130
+ "ReturnDateTime": "2014-04-19T00:00:00",
131
+ "Theme": "MOUNTAINS",
132
+ "Links": [
133
+ {
134
+ "rel": "shop",
135
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-04-18&returndate=2014-04-19"
136
+ }
137
+ ]
138
+ },
139
+ {
140
+ "LowestFare": 138,
141
+ "DestinationLocation": "DEN",
142
+ "CurrencyCode": "USD",
143
+ "LowestNonStopFare": 138,
144
+ "DepartureDateTime": "2014-04-19T00:00:00",
145
+ "ReturnDateTime": "2014-04-20T00:00:00",
146
+ "Theme": "MOUNTAINS",
147
+ "Links": [
148
+ {
149
+ "rel": "shop",
150
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-04-19&returndate=2014-04-20"
151
+ }
152
+ ]
153
+ },
154
+ {
155
+ "LowestFare": 138,
156
+ "DestinationLocation": "DEN",
157
+ "LowestNonStopFare": 138,
158
+ "CurrencyCode": "USD",
159
+ "DepartureDateTime": "2014-04-20T00:00:00",
160
+ "ReturnDateTime": "2014-04-21T00:00:00",
161
+ "Theme": "MOUNTAINS",
162
+ "Links": [
163
+ {
164
+ "rel": "shop",
165
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-04-20&returndate=2014-04-21"
166
+ }
167
+ ]
168
+ },
169
+ {
170
+ "LowestFare": 138,
171
+ "DestinationLocation": "DEN",
172
+ "LowestNonStopFare": 138,
173
+ "CurrencyCode": "USD",
174
+ "DepartureDateTime": "2014-04-21T00:00:00",
175
+ "ReturnDateTime": "2014-04-22T00:00:00",
176
+ "Theme": "MOUNTAINS",
177
+ "Links": [
178
+ {
179
+ "rel": "shop",
180
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-04-21&returndate=2014-04-22"
181
+ }
182
+ ]
183
+ },
184
+ {
185
+ "LowestFare": 138,
186
+ "DestinationLocation": "DEN",
187
+ "LowestNonStopFare": 138,
188
+ "CurrencyCode": "USD",
189
+ "DepartureDateTime": "2014-04-22T00:00:00",
190
+ "ReturnDateTime": "2014-04-23T00:00:00",
191
+ "Theme": "MOUNTAINS",
192
+ "Links": [
193
+ {
194
+ "rel": "shop",
195
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-04-22&returndate=2014-04-23"
196
+ }
197
+ ]
198
+ },
199
+ {
200
+ "LowestFare": 138,
201
+ "DestinationLocation": "DEN",
202
+ "CurrencyCode": "USD",
203
+ "LowestNonStopFare": 138,
204
+ "DepartureDateTime": "2014-04-23T00:00:00",
205
+ "ReturnDateTime": "2014-04-24T00:00:00",
206
+ "Theme": "MOUNTAINS",
207
+ "Links": [
208
+ {
209
+ "rel": "shop",
210
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-04-23&returndate=2014-04-24"
211
+ }
212
+ ]
213
+ },
214
+ {
215
+ "LowestFare": 138,
216
+ "DestinationLocation": "DEN",
217
+ "LowestNonStopFare": 138,
218
+ "CurrencyCode": "USD",
219
+ "DepartureDateTime": "2014-04-24T00:00:00",
220
+ "ReturnDateTime": "2014-04-25T00:00:00",
221
+ "Theme": "MOUNTAINS",
222
+ "Links": [
223
+ {
224
+ "rel": "shop",
225
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-04-24&returndate=2014-04-25"
226
+ }
227
+ ]
228
+ },
229
+ {
230
+ "LowestFare": 138,
231
+ "DestinationLocation": "DEN",
232
+ "LowestNonStopFare": 138,
233
+ "CurrencyCode": "USD",
234
+ "DepartureDateTime": "2014-04-25T00:00:00",
235
+ "ReturnDateTime": "2014-04-26T00:00:00",
236
+ "Theme": "MOUNTAINS",
237
+ "Links": [
238
+ {
239
+ "rel": "shop",
240
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-04-25&returndate=2014-04-26"
241
+ }
242
+ ]
243
+ },
244
+ {
245
+ "LowestFare": 138,
246
+ "DestinationLocation": "DEN",
247
+ "CurrencyCode": "USD",
248
+ "LowestNonStopFare": 138,
249
+ "DepartureDateTime": "2014-04-26T00:00:00",
250
+ "ReturnDateTime": "2014-04-27T00:00:00",
251
+ "Theme": "MOUNTAINS",
252
+ "Links": [
253
+ {
254
+ "rel": "shop",
255
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-04-26&returndate=2014-04-27"
256
+ }
257
+ ]
258
+ },
259
+ {
260
+ "LowestFare": 138,
261
+ "DestinationLocation": "DEN",
262
+ "CurrencyCode": "USD",
263
+ "LowestNonStopFare": 138,
264
+ "DepartureDateTime": "2014-04-27T00:00:00",
265
+ "ReturnDateTime": "2014-04-28T00:00:00",
266
+ "Theme": "MOUNTAINS",
267
+ "Links": [
268
+ {
269
+ "rel": "shop",
270
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-04-27&returndate=2014-04-28"
271
+ }
272
+ ]
273
+ },
274
+ {
275
+ "LowestFare": 138,
276
+ "DestinationLocation": "DEN",
277
+ "CurrencyCode": "USD",
278
+ "LowestNonStopFare": 138,
279
+ "DepartureDateTime": "2014-04-28T00:00:00",
280
+ "ReturnDateTime": "2014-04-29T00:00:00",
281
+ "Theme": "MOUNTAINS",
282
+ "Links": [
283
+ {
284
+ "rel": "shop",
285
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-04-28&returndate=2014-04-29"
286
+ }
287
+ ]
288
+ },
289
+ {
290
+ "LowestFare": 138,
291
+ "DestinationLocation": "DEN",
292
+ "LowestNonStopFare": 138,
293
+ "CurrencyCode": "USD",
294
+ "DepartureDateTime": "2014-04-29T00:00:00",
295
+ "ReturnDateTime": "2014-04-30T00:00:00",
296
+ "Theme": "MOUNTAINS",
297
+ "Links": [
298
+ {
299
+ "rel": "shop",
300
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-04-29&returndate=2014-04-30"
301
+ }
302
+ ]
303
+ },
304
+ {
305
+ "LowestFare": 138,
306
+ "DestinationLocation": "DEN",
307
+ "LowestNonStopFare": 138,
308
+ "CurrencyCode": "USD",
309
+ "DepartureDateTime": "2014-04-30T00:00:00",
310
+ "ReturnDateTime": "2014-05-01T00:00:00",
311
+ "Theme": "MOUNTAINS",
312
+ "Links": [
313
+ {
314
+ "rel": "shop",
315
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-04-30&returndate=2014-05-01"
316
+ }
317
+ ]
318
+ },
319
+ {
320
+ "LowestFare": 138,
321
+ "DestinationLocation": "DEN",
322
+ "CurrencyCode": "USD",
323
+ "LowestNonStopFare": 138,
324
+ "DepartureDateTime": "2014-05-01T00:00:00",
325
+ "ReturnDateTime": "2014-05-02T00:00:00",
326
+ "Theme": "MOUNTAINS",
327
+ "Links": [
328
+ {
329
+ "rel": "shop",
330
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-05-01&returndate=2014-05-02"
331
+ }
332
+ ]
333
+ },
334
+ {
335
+ "LowestFare": 138,
336
+ "DestinationLocation": "DEN",
337
+ "LowestNonStopFare": 138,
338
+ "CurrencyCode": "USD",
339
+ "DepartureDateTime": "2014-05-02T00:00:00",
340
+ "ReturnDateTime": "2014-05-03T00:00:00",
341
+ "Theme": "MOUNTAINS",
342
+ "Links": [
343
+ {
344
+ "rel": "shop",
345
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-05-02&returndate=2014-05-03"
346
+ }
347
+ ]
348
+ },
349
+ {
350
+ "LowestFare": 138,
351
+ "DestinationLocation": "DEN",
352
+ "LowestNonStopFare": 138,
353
+ "CurrencyCode": "USD",
354
+ "DepartureDateTime": "2014-05-03T00:00:00",
355
+ "ReturnDateTime": "2014-05-04T00:00:00",
356
+ "Theme": "MOUNTAINS",
357
+ "Links": [
358
+ {
359
+ "rel": "shop",
360
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-05-03&returndate=2014-05-04"
361
+ }
362
+ ]
363
+ },
364
+ {
365
+ "LowestFare": 138,
366
+ "DestinationLocation": "DEN",
367
+ "CurrencyCode": "USD",
368
+ "LowestNonStopFare": 138,
369
+ "DepartureDateTime": "2014-05-04T00:00:00",
370
+ "ReturnDateTime": "2014-05-05T00:00:00",
371
+ "Theme": "MOUNTAINS",
372
+ "Links": [
373
+ {
374
+ "rel": "shop",
375
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-05-04&returndate=2014-05-05"
376
+ }
377
+ ]
378
+ },
379
+ {
380
+ "LowestFare": 158,
381
+ "DestinationLocation": "DEN",
382
+ "CurrencyCode": "USD",
383
+ "LowestNonStopFare": 158,
384
+ "DepartureDateTime": "2014-05-05T00:00:00",
385
+ "ReturnDateTime": "2014-05-06T00:00:00",
386
+ "Theme": "MOUNTAINS",
387
+ "Links": [
388
+ {
389
+ "rel": "shop",
390
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-05-05&returndate=2014-05-06"
391
+ }
392
+ ]
393
+ },
394
+ {
395
+ "LowestFare": 138,
396
+ "DestinationLocation": "DEN",
397
+ "LowestNonStopFare": 138,
398
+ "CurrencyCode": "USD",
399
+ "DepartureDateTime": "2014-05-06T00:00:00",
400
+ "ReturnDateTime": "2014-05-07T00:00:00",
401
+ "Theme": "MOUNTAINS",
402
+ "Links": [
403
+ {
404
+ "rel": "shop",
405
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-05-06&returndate=2014-05-07"
406
+ }
407
+ ]
408
+ },
409
+ {
410
+ "LowestFare": 138,
411
+ "DestinationLocation": "DEN",
412
+ "LowestNonStopFare": 138,
413
+ "CurrencyCode": "USD",
414
+ "DepartureDateTime": "2014-05-07T00:00:00",
415
+ "ReturnDateTime": "2014-05-08T00:00:00",
416
+ "Theme": "MOUNTAINS",
417
+ "Links": [
418
+ {
419
+ "rel": "shop",
420
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-05-07&returndate=2014-05-08"
421
+ }
422
+ ]
423
+ },
424
+ {
425
+ "LowestFare": 138,
426
+ "DestinationLocation": "DEN",
427
+ "LowestNonStopFare": 138,
428
+ "CurrencyCode": "USD",
429
+ "DepartureDateTime": "2014-05-08T00:00:00",
430
+ "ReturnDateTime": "2014-05-09T00:00:00",
431
+ "Theme": "MOUNTAINS",
432
+ "Links": [
433
+ {
434
+ "rel": "shop",
435
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-05-08&returndate=2014-05-09"
436
+ }
437
+ ]
438
+ },
439
+ {
440
+ "LowestFare": 158,
441
+ "DestinationLocation": "DEN",
442
+ "CurrencyCode": "USD",
443
+ "LowestNonStopFare": 158,
444
+ "DepartureDateTime": "2014-05-09T00:00:00",
445
+ "ReturnDateTime": "2014-05-10T00:00:00",
446
+ "Theme": "MOUNTAINS",
447
+ "Links": [
448
+ {
449
+ "rel": "shop",
450
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-05-09&returndate=2014-05-10"
451
+ }
452
+ ]
453
+ },
454
+ {
455
+ "LowestFare": 158,
456
+ "DestinationLocation": "DEN",
457
+ "LowestNonStopFare": 158,
458
+ "CurrencyCode": "USD",
459
+ "DepartureDateTime": "2014-05-10T00:00:00",
460
+ "ReturnDateTime": "2014-05-11T00:00:00",
461
+ "Theme": "MOUNTAINS",
462
+ "Links": [
463
+ {
464
+ "rel": "shop",
465
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=LAS&destination=DEN&departuredate=2014-05-10&returndate=2014-05-11"
466
+ }
467
+ ]
468
+ }
469
+ ],
470
+ "UsageNote": "The response may be very large when you request a wide range of dates in earliestdeparturedate and latestdeparturedate. Please consider narrowing this date range to retrieve fewer results.",
471
+ "Links": [
472
+ {
473
+ "rel": "self",
474
+ "href": "https://api.test.sabre.com/v1/shop/flights/fares?origin=LAS&lengthofstay=1&theme=MOUNTAINS"
475
+ },
476
+ {
477
+ "rel": "linkTemplate",
478
+ "href": "https://api.test.sabre.com/v1/shop/flights/fares?origin=<origin>&departuredate=<departuredate>&returndate=<returndate>&location=<location>&theme=<theme>&minfare=<minfare>&maxfare=<maxfare>&lengthofstay=<lengthofstay>&earliestdeparturedate=<earliestdeparturedate>&latestdeparturedate=<latestdeparturedate>"
479
+ }
480
+ ]
481
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "OriginLocation": "JFK",
3
+ "DestinationLocation": "LAX",
4
+ "FareData": [
5
+ {
6
+ "DepartureDateTime": "2014-06-01T00:00:00",
7
+ "MaximumFare": 874.4,
8
+ "Count": "High",
9
+ "MinimumFare": 308,
10
+ "ReturnDateTime": "2014-06-05T00:00:00",
11
+ "CurrencyCode": "USD",
12
+ "MedianFare": 428.7,
13
+ "Links": [
14
+ {
15
+ "rel": "shop",
16
+ "href": "https://api.test.sabre.com/v1/shop/flights?origin=JFK&destination=LAX&departuredate=2014-06-01&returndate=2014-06-05"
17
+ },
18
+ {
19
+ "rel": "forecast",
20
+ "href": "https://api.test.sabre.com/v1/forecast/flights/fares?origin=JFK&destination=LAX&departuredate=2014-06-01&returndate=2014-06-05"
21
+ }
22
+ ]
23
+ }
24
+ ],
25
+ "Links": [
26
+ {
27
+ "rel": "self",
28
+ "href": "https://api.test.sabre.com/v1/historical/flights/fares?origin=JFK&destination=LAX&earliestdeparturedate=2014-06-01&latestdeparturedate=2014-06-01&lengthofstay=4"
29
+ },
30
+ {
31
+ "rel": "linkTemplate",
32
+ "href": "https://api.test.sabre.com/v1/historical/flights/fares?origin=<origin>&destination=<destination>&earliestdeparturedate=<earliestdeparturedate>&latestdeparturedate=<latestdeparturedate>&lengthofstay=<lengthofstay>"
33
+ }
34
+ ]
35
+ }