gillbus 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +22 -0
  3. data/.ruby-version +1 -0
  4. data/Gemfile +10 -0
  5. data/Guardfile +29 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +140 -0
  8. data/Rakefile +9 -0
  9. data/gillbus.gemspec +31 -0
  10. data/lib/gillbus/base_request.rb +99 -0
  11. data/lib/gillbus/base_response.rb +43 -0
  12. data/lib/gillbus/buy_booking.rb +74 -0
  13. data/lib/gillbus/buy_tickets.rb +36 -0
  14. data/lib/gillbus/cancel_order.rb +55 -0
  15. data/lib/gillbus/drivers/faraday_response_file_logger.rb +19 -0
  16. data/lib/gillbus/find_order.rb +37 -0
  17. data/lib/gillbus/get_all_cities.rb +24 -0
  18. data/lib/gillbus/get_cities.rb +34 -0
  19. data/lib/gillbus/get_countries.rb +24 -0
  20. data/lib/gillbus/get_dates_new.rb +35 -0
  21. data/lib/gillbus/get_order_status.rb +28 -0
  22. data/lib/gillbus/get_order_ticket.rb +62 -0
  23. data/lib/gillbus/get_required_fields.rb +32 -0
  24. data/lib/gillbus/get_time_table.rb +33 -0
  25. data/lib/gillbus/get_trip_seats.rb +61 -0
  26. data/lib/gillbus/get_trips.rb +13 -0
  27. data/lib/gillbus/helpers/fields.rb +47 -0
  28. data/lib/gillbus/helpers/parser.rb +100 -0
  29. data/lib/gillbus/helpers/update_attrs.rb +15 -0
  30. data/lib/gillbus/lock_seats.rb +82 -0
  31. data/lib/gillbus/logout.rb +19 -0
  32. data/lib/gillbus/parse_error.rb +11 -0
  33. data/lib/gillbus/reserve_tickets.rb +13 -0
  34. data/lib/gillbus/search_trips.rb +96 -0
  35. data/lib/gillbus/session_login.rb +32 -0
  36. data/lib/gillbus/structs/commission.rb +54 -0
  37. data/lib/gillbus/structs/item.rb +14 -0
  38. data/lib/gillbus/structs/passenger_discount.rb +37 -0
  39. data/lib/gillbus/structs/point.rb +38 -0
  40. data/lib/gillbus/structs/return_cause.rb +23 -0
  41. data/lib/gillbus/structs/seat.rb +38 -0
  42. data/lib/gillbus/structs/segment.rb +161 -0
  43. data/lib/gillbus/structs/tariff.rb +59 -0
  44. data/lib/gillbus/structs/ticket.rb +285 -0
  45. data/lib/gillbus/structs/timetable_segment.rb +51 -0
  46. data/lib/gillbus/structs/timetable_trip.rb +77 -0
  47. data/lib/gillbus/structs/trip.rb +164 -0
  48. data/lib/gillbus/tickets_booking.rb +182 -0
  49. data/lib/gillbus/unlock_seats.rb +15 -0
  50. data/lib/gillbus/version.rb +3 -0
  51. data/lib/gillbus.rb +86 -0
  52. data/script/example_booking.rb +82 -0
  53. data/script/example_booking_with_segments.rb +90 -0
  54. data/script/example_canceling_booking.rb +67 -0
  55. data/script/example_canceling_reservation.rb +69 -0
  56. data/script/example_reservation.rb +88 -0
  57. data/test/buy_booking_test.rb +32 -0
  58. data/test/buy_tickets_test.rb +12 -0
  59. data/test/cancel_order_test.rb +12 -0
  60. data/test/error_test.rb +31 -0
  61. data/test/find_order_test.rb +24 -0
  62. data/test/get_cities_test.rb +12 -0
  63. data/test/get_countries_test.rb +12 -0
  64. data/test/get_dates_new_test.rb +12 -0
  65. data/test/get_order_ticket_test.rb +12 -0
  66. data/test/get_time_table_test.rb +21 -0
  67. data/test/get_trip_seats_test.rb +40 -0
  68. data/test/lock_seats_test.rb +70 -0
  69. data/test/reserve_tickets_test.rb +22 -0
  70. data/test/responses/buyBooking.xml +9 -0
  71. data/test/responses/buyTickets.xml +7 -0
  72. data/test/responses/cancelOrder.xml +8 -0
  73. data/test/responses/error.xml +1 -0
  74. data/test/responses/findOrder.xml +296 -0
  75. data/test/responses/getCities.xml +266 -0
  76. data/test/responses/getCountries.xml +90 -0
  77. data/test/responses/getOrderTicket.xml +3 -0
  78. data/test/responses/getTimeTable.xml +81 -0
  79. data/test/responses/getTripSeats-one-empty-segment.xml +562 -0
  80. data/test/responses/getTripSeats-segments.xml +1052 -0
  81. data/test/responses/getTripSeats.xml +492 -0
  82. data/test/responses/lockSeats.xml +23 -0
  83. data/test/responses/reserveTickets.xml +76 -0
  84. data/test/responses/searchTrips-empty.xml +3 -0
  85. data/test/responses/searchTrips-prod.xml +193 -0
  86. data/test/responses/searchTrips-segments-roundtrip.xml +15812 -0
  87. data/test/responses/searchTrips-segments.xml +808 -0
  88. data/test/responses/sessionLogin.xml +3 -0
  89. data/test/responses/ticketsBooking.xml +75 -0
  90. data/test/responses/very_empty.xml +1 -0
  91. data/test/search_trips_test.rb +71 -0
  92. data/test/session_login_test.rb +12 -0
  93. data/test/test_helper.rb +3 -0
  94. data/test/tickets_booking_test.rb +16 -0
  95. metadata +303 -0
@@ -0,0 +1,266 @@
1
+ <DATA>
2
+ <CITY>
3
+ <ID>9438B9BB18612F20E040A8C01E025A71</ID>
4
+ <NAME>Афины</NAME>
5
+ <COUNTRY_ID>9423E57D3A08160BE040A8C01E026E93</COUNTRY_ID>
6
+ <COUNTRY_NAME>Греция</COUNTRY_NAME>
7
+ </CITY>
8
+ <CITY>
9
+ <ID>EE98BBB558F203E4E040A8C063026A8D</ID>
10
+ <NAME>Бангкок</NAME>
11
+ <COUNTRY_ID>EE98B4F305311CF2E040A8C06302697F</COUNTRY_ID>
12
+ <COUNTRY_NAME>Таиланд</COUNTRY_NAME>
13
+ </CITY>
14
+ <CITY>
15
+ <ID>928F32EDA408026FE040A8C01E02395E</ID>
16
+ <NAME>Бердянск</NAME>
17
+ <COUNTRY_ID>8FA72D107FDAB48DE040A8C01E021896</COUNTRY_ID>
18
+ <COUNTRY_NAME>Украина</COUNTRY_NAME>
19
+ </CITY>
20
+ <CITY>
21
+ <ID>927F7E693C221BDAE040A8C01E025920</ID>
22
+ <NAME>Берлин</NAME>
23
+ <COUNTRY_ID>92185DABB6E00AA1E040A8C01E0269E1</COUNTRY_ID>
24
+ <COUNTRY_NAME>Германия</COUNTRY_NAME>
25
+ </CITY>
26
+ <CITY>
27
+ <ID>927F7E693C261BDAE040A8C01E025920</ID>
28
+ <NAME>Билефельд</NAME>
29
+ <COUNTRY_ID>92185DABB6E00AA1E040A8C01E0269E1</COUNTRY_ID>
30
+ <COUNTRY_NAME>Германия</COUNTRY_NAME>
31
+ </CITY>
32
+ <CITY>
33
+ <ID>927F7E693C241BDAE040A8C01E025920</ID>
34
+ <NAME>Брауншвейг</NAME>
35
+ <COUNTRY_ID>92185DABB6E00AA1E040A8C01E0269E1</COUNTRY_ID>
36
+ <COUNTRY_NAME>Германия</COUNTRY_NAME>
37
+ </CITY>
38
+ <CITY>
39
+ <ID>962F8CBA9F9802A8E040A8C01E022A0D</ID>
40
+ <NAME>Брно</NAME>
41
+ <COUNTRY_ID>8D625B97CFF82EBBE040A8C01E022BEE</COUNTRY_ID>
42
+ <COUNTRY_NAME>Чехия</COUNTRY_NAME>
43
+ </CITY>
44
+ <CITY>
45
+ <ID>CAC00B897C470053E040A8C063024706</ID>
46
+ <NAME>Вена</NAME>
47
+ <COUNTRY_ID>B6F6A6D3EBC9A268E040A8C063036CEF</COUNTRY_ID>
48
+ <COUNTRY_NAME>Австрия</COUNTRY_NAME>
49
+ </CITY>
50
+ <CITY>
51
+ <ID>DE79937799B564E0E040A8C063021CC5</ID>
52
+ <NAME>Вильнюс</NAME>
53
+ <COUNTRY_ID>DE79937799AF64E0E040A8C063021CC5</COUNTRY_ID>
54
+ <COUNTRY_NAME>Литва</COUNTRY_NAME>
55
+ </CITY>
56
+ <CITY>
57
+ <ID>927F7E693C281BDAE040A8C01E025920</ID>
58
+ <NAME>Ганновер</NAME>
59
+ <COUNTRY_ID>92185DABB6E00AA1E040A8C01E0269E1</COUNTRY_ID>
60
+ <COUNTRY_NAME>Германия</COUNTRY_NAME>
61
+ </CITY>
62
+ <CITY>
63
+ <ID>928F32EDA3FC026FE040A8C01E02395E</ID>
64
+ <NAME>Днепропетровск</NAME>
65
+ <COUNTRY_ID>8FA72D107FDAB48DE040A8C01E021896</COUNTRY_ID>
66
+ <COUNTRY_NAME>Украина</COUNTRY_NAME>
67
+ </CITY>
68
+ <CITY>
69
+ <ID>928F32EDA434026FE040A8C01E02395E</ID>
70
+ <NAME>Донецк</NAME>
71
+ <COUNTRY_ID>8FA72D107FDAB48DE040A8C01E021896</COUNTRY_ID>
72
+ <COUNTRY_NAME>Украина</COUNTRY_NAME>
73
+ </CITY>
74
+ <CITY>
75
+ <ID>927F7E693C2E1BDAE040A8C01E025920</ID>
76
+ <NAME>Дортмунд</NAME>
77
+ <COUNTRY_ID>92185DABB6E00AA1E040A8C01E0269E1</COUNTRY_ID>
78
+ <COUNTRY_NAME>Германия</COUNTRY_NAME>
79
+ </CITY>
80
+ <CITY>
81
+ <ID>927F7E693C321BDAE040A8C01E025920</ID>
82
+ <NAME>Дуйсбург</NAME>
83
+ <COUNTRY_ID>92185DABB6E00AA1E040A8C01E0269E1</COUNTRY_ID>
84
+ <COUNTRY_NAME>Германия</COUNTRY_NAME>
85
+ </CITY>
86
+ <CITY>
87
+ <ID>927F7E693C341BDAE040A8C01E025920</ID>
88
+ <NAME>Дюссельдорф</NAME>
89
+ <COUNTRY_ID>92185DABB6E00AA1E040A8C01E0269E1</COUNTRY_ID>
90
+ <COUNTRY_NAME>Германия</COUNTRY_NAME>
91
+ </CITY>
92
+ <CITY>
93
+ <ID>928F32EDA43F026FE040A8C01E02395E</ID>
94
+ <NAME>Житомир</NAME>
95
+ <COUNTRY_ID>8FA72D107FDAB48DE040A8C01E021896</COUNTRY_ID>
96
+ <COUNTRY_NAME>Украина</COUNTRY_NAME>
97
+ </CITY>
98
+ <CITY>
99
+ <ID>928F32EDA4D8026FE040A8C01E02395E</ID>
100
+ <NAME>Каховка</NAME>
101
+ <COUNTRY_ID>8FA72D107FDAB48DE040A8C01E021896</COUNTRY_ID>
102
+ <COUNTRY_NAME>Украина</COUNTRY_NAME>
103
+ </CITY>
104
+ <CITY>
105
+ <ID>928F32EDA461026FE040A8C01E02395E</ID>
106
+ <NAME>Киев</NAME>
107
+ <COUNTRY_ID>8FA72D107FDAB48DE040A8C01E021896</COUNTRY_ID>
108
+ <COUNTRY_NAME>Украина</COUNTRY_NAME>
109
+ </CITY>
110
+ <CITY>
111
+ <ID>927F7E693C3C1BDAE040A8C01E025920</ID>
112
+ <NAME>Кёльн</NAME>
113
+ <COUNTRY_ID>92185DABB6E00AA1E040A8C01E0269E1</COUNTRY_ID>
114
+ <COUNTRY_NAME>Германия</COUNTRY_NAME>
115
+ </CITY>
116
+ <CITY>
117
+ <ID>9423E57D3A19160BE040A8C01E026E93</ID>
118
+ <NAME>Ламиа</NAME>
119
+ <COUNTRY_ID>9423E57D3A08160BE040A8C01E026E93</COUNTRY_ID>
120
+ <COUNTRY_NAME>Греция</COUNTRY_NAME>
121
+ </CITY>
122
+ <CITY>
123
+ <ID>928F32EDA475026FE040A8C01E02395E</ID>
124
+ <NAME>Львов</NAME>
125
+ <COUNTRY_ID>8FA72D107FDAB48DE040A8C01E021896</COUNTRY_ID>
126
+ <COUNTRY_NAME>Украина</COUNTRY_NAME>
127
+ </CITY>
128
+ <CITY>
129
+ <ID>927F7E693C401BDAE040A8C01E025920</ID>
130
+ <NAME>Магдебург</NAME>
131
+ <COUNTRY_ID>92185DABB6E00AA1E040A8C01E0269E1</COUNTRY_ID>
132
+ <COUNTRY_NAME>Германия</COUNTRY_NAME>
133
+ </CITY>
134
+ <CITY>
135
+ <ID>928F32EDA438026FE040A8C01E02395E</ID>
136
+ <NAME>Мариуполь</NAME>
137
+ <COUNTRY_ID>8FA72D107FDAB48DE040A8C01E021896</COUNTRY_ID>
138
+ <COUNTRY_NAME>Украина</COUNTRY_NAME>
139
+ </CITY>
140
+ <CITY>
141
+ <ID>928F32EDA40C026FE040A8C01E02395E</ID>
142
+ <NAME>Мелитополь</NAME>
143
+ <COUNTRY_ID>8FA72D107FDAB48DE040A8C01E021896</COUNTRY_ID>
144
+ <COUNTRY_NAME>Украина</COUNTRY_NAME>
145
+ </CITY>
146
+ <CITY>
147
+ <ID>D19A4B064271E3B3E040A8C063024240</ID>
148
+ <NAME>Минск</NAME>
149
+ <COUNTRY_ID>D19A4B06426BE3B3E040A8C063024240</COUNTRY_ID>
150
+ <COUNTRY_NAME>Белоруссия</COUNTRY_NAME>
151
+ </CITY>
152
+ <CITY>
153
+ <ID>C7EF46E7D9481FCFE040A8C063025300</ID>
154
+ <NAME>Москва</NAME>
155
+ <COUNTRY_ID>C7EF46E7D9421FCFE040A8C063025300</COUNTRY_ID>
156
+ <COUNTRY_NAME>Россия</COUNTRY_NAME>
157
+ </CITY>
158
+ <CITY>
159
+ <ID>928F32EDA481026FE040A8C01E02395E</ID>
160
+ <NAME>Николаев</NAME>
161
+ <COUNTRY_ID>8FA72D107FDAB48DE040A8C01E021896</COUNTRY_ID>
162
+ <COUNTRY_NAME>Украина</COUNTRY_NAME>
163
+ </CITY>
164
+ <CITY>
165
+ <ID>928F32EDA4DA026FE040A8C01E02395E</ID>
166
+ <NAME>Новая Каховка</NAME>
167
+ <COUNTRY_ID>8FA72D107FDAB48DE040A8C01E021896</COUNTRY_ID>
168
+ <COUNTRY_NAME>Украина</COUNTRY_NAME>
169
+ </CITY>
170
+ <CITY>
171
+ <ID>928F32EDA494026FE040A8C01E02395E</ID>
172
+ <NAME>Одесса</NAME>
173
+ <COUNTRY_ID>8FA72D107FDAB48DE040A8C01E021896</COUNTRY_ID>
174
+ <COUNTRY_NAME>Украина</COUNTRY_NAME>
175
+ </CITY>
176
+ <CITY>
177
+ <ID>928F32EDA4AF026FE040A8C01E02395E</ID>
178
+ <NAME>Полтава</NAME>
179
+ <COUNTRY_ID>8FA72D107FDAB48DE040A8C01E021896</COUNTRY_ID>
180
+ <COUNTRY_NAME>Украина</COUNTRY_NAME>
181
+ </CITY>
182
+ <CITY>
183
+ <ID>9438B9BB184C2F20E040A8C01E025A71</ID>
184
+ <NAME>Порубное</NAME>
185
+ <COUNTRY_ID>8FA72D107FDAB48DE040A8C01E021896</COUNTRY_ID>
186
+ <COUNTRY_NAME>Украина</COUNTRY_NAME>
187
+ </CITY>
188
+ <CITY>
189
+ <ID>962F8CBA9F9602A8E040A8C01E022A0D</ID>
190
+ <NAME>Прага</NAME>
191
+ <COUNTRY_ID>8D625B97CFF82EBBE040A8C01E022BEE</COUNTRY_ID>
192
+ <COUNTRY_NAME>Чехия</COUNTRY_NAME>
193
+ </CITY>
194
+ <CITY>
195
+ <ID>F751C63F01D26255E040A8C063027FFC</ID>
196
+ <NAME>Рига</NAME>
197
+ <COUNTRY_ID>F751BF29D21F8583E040A8C063027C8B</COUNTRY_ID>
198
+ <COUNTRY_NAME>Латвия</COUNTRY_NAME>
199
+ </CITY>
200
+ <CITY>
201
+ <ID>928F32EDA4C2026FE040A8C01E02395E</ID>
202
+ <NAME>Ровно</NAME>
203
+ <COUNTRY_ID>8FA72D107FDAB48DE040A8C01E021896</COUNTRY_ID>
204
+ <COUNTRY_NAME>Украина</COUNTRY_NAME>
205
+ </CITY>
206
+ <CITY>
207
+ <ID>9423E57D3A17160BE040A8C01E026E93</ID>
208
+ <NAME>Салоники</NAME>
209
+ <COUNTRY_ID>9423E57D3A08160BE040A8C01E026E93</COUNTRY_ID>
210
+ <COUNTRY_NAME>Греция</COUNTRY_NAME>
211
+ </CITY>
212
+ <CITY>
213
+ <ID>CA965672E8493BBDE040A8C063024D6C</ID>
214
+ <NAME>Санкт-петербург</NAME>
215
+ <COUNTRY_ID>C7EF46E7D9421FCFE040A8C063025300</COUNTRY_ID>
216
+ <COUNTRY_NAME>Россия</COUNTRY_NAME>
217
+ </CITY>
218
+ <CITY>
219
+ <ID>962F750358EEA7B3E040A8C01E022837</ID>
220
+ <NAME>Таллин</NAME>
221
+ <COUNTRY_ID>962F750358E6A7B3E040A8C01E022837</COUNTRY_ID>
222
+ <COUNTRY_NAME>Эстония</COUNTRY_NAME>
223
+ </CITY>
224
+ <CITY>
225
+ <ID>928F32EDA4CE026FE040A8C01E02395E</ID>
226
+ <NAME>Тернополь</NAME>
227
+ <COUNTRY_ID>8FA72D107FDAB48DE040A8C01E021896</COUNTRY_ID>
228
+ <COUNTRY_NAME>Украина</COUNTRY_NAME>
229
+ </CITY>
230
+ <CITY>
231
+ <ID>931BE4D288DF1E0BE040A8C01E023BE9</ID>
232
+ <NAME>Хамм</NAME>
233
+ <COUNTRY_ID>92185DABB6E00AA1E040A8C01E0269E1</COUNTRY_ID>
234
+ <COUNTRY_NAME>Германия</COUNTRY_NAME>
235
+ </CITY>
236
+ <CITY>
237
+ <ID>928F32EDA4DC026FE040A8C01E02395E</ID>
238
+ <NAME>Херсон</NAME>
239
+ <COUNTRY_ID>8FA72D107FDAB48DE040A8C01E021896</COUNTRY_ID>
240
+ <COUNTRY_NAME>Украина</COUNTRY_NAME>
241
+ </CITY>
242
+ <CITY>
243
+ <ID>CA96268D2294BE13E040A8C063021A6D</ID>
244
+ <NAME>Чернигов</NAME>
245
+ <COUNTRY_ID>8FA72D107FDAB48DE040A8C01E021896</COUNTRY_ID>
246
+ <COUNTRY_NAME>Украина</COUNTRY_NAME>
247
+ </CITY>
248
+ <CITY>
249
+ <ID>928F32EDA4F8026FE040A8C01E02395E</ID>
250
+ <NAME>Черновцы</NAME>
251
+ <COUNTRY_ID>8FA72D107FDAB48DE040A8C01E021896</COUNTRY_ID>
252
+ <COUNTRY_NAME>Украина</COUNTRY_NAME>
253
+ </CITY>
254
+ <CITY>
255
+ <ID>927F7E693C361BDAE040A8C01E025920</ID>
256
+ <NAME>Эссен</NAME>
257
+ <COUNTRY_ID>92185DABB6E00AA1E040A8C01E0269E1</COUNTRY_ID>
258
+ <COUNTRY_NAME>Германия</COUNTRY_NAME>
259
+ </CITY>
260
+ <CITY>
261
+ <ID>928F32EDA418026FE040A8C01E02395E</ID>
262
+ <NAME>Ялта</NAME>
263
+ <COUNTRY_ID>8FA72D107FDAB48DE040A8C01E021896</COUNTRY_ID>
264
+ <COUNTRY_NAME>Украина</COUNTRY_NAME>
265
+ </CITY>
266
+ </DATA>
@@ -0,0 +1,90 @@
1
+ <DATA>
2
+ <COUNTRY>
3
+ <ID>B6F6A6D3EBC9A268E040A8C063036CEF</ID>
4
+ <NAME>Австрия</NAME>
5
+ </COUNTRY>
6
+ <COUNTRY>
7
+ <ID>FDAEC530864CAB62E040A8C06302749A</ID>
8
+ <NAME>Армения</NAME>
9
+ </COUNTRY>
10
+ <COUNTRY>
11
+ <ID>D19A4B06426BE3B3E040A8C063024240</ID>
12
+ <NAME>Белоруссия</NAME>
13
+ </COUNTRY>
14
+ <COUNTRY>
15
+ <ID>9423E57D39FD160BE040A8C01E026E93</ID>
16
+ <NAME>Болгаоия</NAME>
17
+ </COUNTRY>
18
+ <COUNTRY>
19
+ <ID>97D842C7A63CBE06E040A8C01E0218BB</ID>
20
+ <NAME>Великобритания</NAME>
21
+ </COUNTRY>
22
+ <COUNTRY>
23
+ <ID>92185DABB6E00AA1E040A8C01E0269E1</ID>
24
+ <NAME>Германия</NAME>
25
+ </COUNTRY>
26
+ <COUNTRY>
27
+ <ID>9423E57D3A08160BE040A8C01E026E93</ID>
28
+ <NAME>Греция</NAME>
29
+ </COUNTRY>
30
+ <COUNTRY>
31
+ <ID>927F7E693C061BDAE040A8C01E025920</ID>
32
+ <NAME>Испания</NAME>
33
+ </COUNTRY>
34
+ <COUNTRY>
35
+ <ID>8FBA39DC366F0979E040A8C01E025C5D</ID>
36
+ <NAME>Италия</NAME>
37
+ </COUNTRY>
38
+ <COUNTRY>
39
+ <ID>F751BF29D21F8583E040A8C063027C8B</ID>
40
+ <NAME>Латвия</NAME>
41
+ </COUNTRY>
42
+ <COUNTRY>
43
+ <ID>DE79937799AF64E0E040A8C063021CC5</ID>
44
+ <NAME>Литва</NAME>
45
+ </COUNTRY>
46
+ <COUNTRY>
47
+ <ID>8FA72D107FDBB48DE040A8C01E021896</ID>
48
+ <NAME>Нидерланды</NAME>
49
+ </COUNTRY>
50
+ <COUNTRY>
51
+ <ID>95A46AC72733E470E040A8C01E0212EB</ID>
52
+ <NAME>Польша</NAME>
53
+ </COUNTRY>
54
+ <COUNTRY>
55
+ <ID>C7EF46E7D9421FCFE040A8C063025300</ID>
56
+ <NAME>Россия</NAME>
57
+ </COUNTRY>
58
+ <COUNTRY>
59
+ <ID>9423E57D39F9160BE040A8C01E026E93</ID>
60
+ <NAME>Румыния</NAME>
61
+ </COUNTRY>
62
+ <COUNTRY>
63
+ <ID>EE98B4F305311CF2E040A8C06302697F</ID>
64
+ <NAME>Таиланд</NAME>
65
+ </COUNTRY>
66
+ <COUNTRY>
67
+ <ID>FDAE8525C8D62D72E040A8C063024D08</ID>
68
+ <NAME>Турция</NAME>
69
+ </COUNTRY>
70
+ <COUNTRY>
71
+ <ID>8FA72D107FDAB48DE040A8C01E021896</ID>
72
+ <NAME>Украина</NAME>
73
+ </COUNTRY>
74
+ <COUNTRY>
75
+ <ID>8D776DF17DFC6E00E040A8C01E020486</ID>
76
+ <NAME>Финляндия</NAME>
77
+ </COUNTRY>
78
+ <COUNTRY>
79
+ <ID>96303D0CF1CE6A05E040A8C01E0238AC</ID>
80
+ <NAME>Франция</NAME>
81
+ </COUNTRY>
82
+ <COUNTRY>
83
+ <ID>8D625B97CFF82EBBE040A8C01E022BEE</ID>
84
+ <NAME>Чехия</NAME>
85
+ </COUNTRY>
86
+ <COUNTRY>
87
+ <ID>962F750358E6A7B3E040A8C01E022837</ID>
88
+ <NAME>Эстония</NAME>
89
+ </COUNTRY>
90
+ </DATA>
@@ -0,0 +1,3 @@
1
+ <DATA>
2
+ <TICKET>YmFzZTY0IHN0cmluZw==</TICKET>
3
+ </DATA>
@@ -0,0 +1,81 @@
1
+ <DATA>
2
+ <TRIP>
3
+ <NUMBER>ЯРМ005 Киев-Коблево</NUMBER>
4
+ <START_CITY_NAME>Киев</START_CITY_NAME>
5
+ <END_CITY_NAME>Коблево</END_CITY_NAME>
6
+ <START_DATE>24.07.2015</START_DATE>
7
+ <END_DATE>31.08.2015</END_DATE>
8
+ <START_TIME>07:30</START_TIME>
9
+ <END_TIME>14:30</END_TIME>
10
+ <BUS_MODEL>Neoplan 313 SHD</BUS_MODEL>
11
+ <CARRIER_INFO>"Ярмола А.Г." ФОП +38(044)5965112</CARRIER_INFO>
12
+ <NUMBER_SEATS>38</NUMBER_SEATS>
13
+ <FREQUENCY>3</FREQUENCY>
14
+ <INTERNATIONAL>false</INTERNATIONAL>
15
+ <TRIP_MODE>1</TRIP_MODE>
16
+ <SEGMENT>
17
+ <START_NAME>Киев</START_NAME>
18
+ <END_NAME>Одесса</END_NAME>
19
+ <START_TIME>07:30</START_TIME>
20
+ <END_TIME>12:55</END_TIME>
21
+ <DAYS>0</DAYS>
22
+ <BASE_COST>270</BASE_COST>
23
+ </SEGMENT>
24
+ <SEGMENT>
25
+ <START_NAME>Киев</START_NAME>
26
+ <END_NAME>Южный(ОД)</END_NAME>
27
+ <START_TIME>07:30</START_TIME>
28
+ <END_TIME>13:55</END_TIME>
29
+ <DAYS>0</DAYS>
30
+ <BASE_COST>300</BASE_COST>
31
+ </SEGMENT>
32
+ <SEGMENT>
33
+ <START_NAME>Киев</START_NAME>
34
+ <END_NAME>Коблево</END_NAME>
35
+ <START_TIME>07:30</START_TIME>
36
+ <END_TIME>14:30</END_TIME>
37
+ <DAYS>0</DAYS>
38
+ <BASE_COST>320</BASE_COST>
39
+ </SEGMENT>
40
+ <DAY_OR_DATE>1</DAY_OR_DATE>
41
+ <DAY_OR_DATE>6</DAY_OR_DATE>
42
+ </TRIP>
43
+ <TRIP>
44
+ <NUMBER>ПВЮ004/2 Затока-Киев</NUMBER>
45
+ <START_CITY_NAME>Затока</START_CITY_NAME>
46
+ <END_CITY_NAME>Киев</END_CITY_NAME>
47
+ <START_DATE>26.06.2015</START_DATE>
48
+ <END_DATE>30.09.2015</END_DATE>
49
+ <START_TIME>22:00</START_TIME>
50
+ <END_TIME>06:20</END_TIME>
51
+ <BUS_MODEL>Volkswagen</BUS_MODEL>
52
+ <CARRIER_INFO>"Притула В.Ю." ФОП </CARRIER_INFO>
53
+ <NUMBER_SEATS>18</NUMBER_SEATS>
54
+ <FREQUENCY>2</FREQUENCY>
55
+ <INTERNATIONAL>false</INTERNATIONAL>
56
+ <TRIP_MODE>1</TRIP_MODE>
57
+ <SEGMENT>
58
+ <START_NAME>Затока</START_NAME>
59
+ <END_NAME>Киев</END_NAME>
60
+ <START_TIME>22:00</START_TIME>
61
+ <END_TIME>06:20</END_TIME>
62
+ <DAYS>1</DAYS>
63
+ <BASE_COST>320</BASE_COST>
64
+ </SEGMENT>
65
+ <SEGMENT>
66
+ <START_NAME>Одесса</START_NAME>
67
+ <END_NAME>Киев</END_NAME>
68
+ <START_TIME>23:15</START_TIME>
69
+ <END_TIME>06:20</END_TIME>
70
+ <DAYS>1</DAYS>
71
+ <BASE_COST>300</BASE_COST>
72
+ </SEGMENT>
73
+ <DAY_OR_DATE>16.08.2015</DAY_OR_DATE>
74
+ <DAY_OR_DATE>23.08.2015</DAY_OR_DATE>
75
+ <DAY_OR_DATE>30.08.2015</DAY_OR_DATE>
76
+ <DAY_OR_DATE>06.09.2015</DAY_OR_DATE>
77
+ <DAY_OR_DATE>13.09.2015</DAY_OR_DATE>
78
+ <DAY_OR_DATE>20.09.2015</DAY_OR_DATE>
79
+ <DAY_OR_DATE>27.09.2015</DAY_OR_DATE>
80
+ </TRIP>
81
+ </DATA>