syoboi_calendar 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/LICENSE +1 -1
- data/README.md +109 -775
- data/lib/syoboi_calendar/client.rb +39 -24
- data/lib/syoboi_calendar/queries/{channel_group_query.rb → list_channel_groups_query.rb} +1 -1
- data/lib/syoboi_calendar/queries/{channel_query.rb → list_channels_query.rb} +1 -1
- data/lib/syoboi_calendar/queries/{program_query.rb → list_programs_query.rb} +1 -1
- data/lib/syoboi_calendar/queries/{title_query.rb → list_titles_query.rb} +1 -1
- data/lib/syoboi_calendar/resources/base_resource.rb +2 -0
- data/lib/syoboi_calendar/resources/program_resource.rb +2 -0
- data/lib/syoboi_calendar/responses/base_response.rb +93 -0
- data/lib/syoboi_calendar/{response_parsers/channel_groups_response_parser.rb → responses/list_channel_groups_response.rb} +8 -3
- data/lib/syoboi_calendar/{response_parsers/channels_response_parser.rb → responses/list_channels_response.rb} +8 -3
- data/lib/syoboi_calendar/{response_parsers/programs_response_parser.rb → responses/list_programs_response.rb} +8 -3
- data/lib/syoboi_calendar/{response_parsers/titles_response_parser.rb → responses/list_titles_response.rb} +8 -3
- data/lib/syoboi_calendar/version.rb +1 -1
- data/lib/syoboi_calendar.rb +9 -14
- data/spec/spec_helper.rb +0 -1
- data/spec/syoboi_calendar/client_spec.rb +119 -143
- data/syoboi_calendar.gemspec +0 -1
- metadata +11 -26
- data/lib/syoboi_calendar/response.rb +0 -49
- data/lib/syoboi_calendar/response_parsers/base_response_parser.rb +0 -52
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# SyoboiCalendar
|
2
2
|
|
3
|
-
[![CircleCI](https://
|
3
|
+
[![CircleCI](https://img.shields.io/circleci/project/github/r7kamura/syoboi_calendar.svg)](https://circleci.com/gh/r7kamura/syoboi_calendar)
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/syoboi_calendar.svg)](https://rubygems.org/gems/syoboi_calendar)
|
5
5
|
[![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/github/r7kamura/syoboi_calendar)
|
6
6
|
|
@@ -43,813 +43,147 @@ client = SyoboiCalendar::Client.new
|
|
43
43
|
|
44
44
|
### SyoboiCalendar::Client#list_channel_groups
|
45
45
|
|
46
|
-
|
46
|
+
Available options:
|
47
47
|
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?ChGID=1&Command=ChGroupLookup`.
|
53
|
-
|
54
|
-
```ruby
|
55
|
-
client.list_channel_groups(channel_group_id: 1)
|
56
|
-
```
|
57
|
-
|
58
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=ChGroupLookup&LastUpdate=20000101_000000-`.
|
48
|
+
- `:channel_group_id`
|
49
|
+
- `:updated_from`
|
50
|
+
- `:updated_to`
|
59
51
|
|
60
52
|
```ruby
|
61
|
-
client.list_channel_groups
|
53
|
+
client.list_channel_groups
|
62
54
|
```
|
63
55
|
|
64
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=ChGroupLookup&LastUpdate=-20000101_000000`.
|
65
|
-
|
66
|
-
```ruby
|
67
|
-
client.list_channel_groups(updated_to: Time.new(2000, 1, 1))
|
68
56
|
```
|
69
|
-
|
70
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=ChGroupLookup&LastUpdate=20000101_000000-20000201_000000`.
|
71
|
-
|
72
|
-
```ruby
|
73
|
-
client.list_channel_groups(updated_from: Time.new(2000, 1, 1), updated_to: Time.new(2000, 2, 1))
|
57
|
+
http://cal.syoboi.jp/db.php?Command=ChGroupLookup
|
74
58
|
```
|
75
59
|
|
76
60
|
### SyoboiCalendar::Client#list_channels
|
77
61
|
|
78
|
-
|
79
|
-
|
80
|
-
```ruby
|
81
|
-
client.list_channels
|
82
|
-
```
|
62
|
+
Available options:
|
83
63
|
|
84
|
-
|
64
|
+
- `:channel_id`
|
65
|
+
- `:updated_from`
|
66
|
+
- `:updated_to`
|
85
67
|
|
86
68
|
```ruby
|
87
|
-
client.list_channels
|
69
|
+
client.list_channels
|
88
70
|
```
|
89
71
|
|
90
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=ChLookup&LastUpdate=20000101_000000-`.
|
91
|
-
|
92
|
-
```ruby
|
93
|
-
client.list_channels(updated_from: Time.new(2000, 1, 1))
|
94
72
|
```
|
95
|
-
|
96
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=ChLookup&LastUpdate=-20000101_000000`.
|
97
|
-
|
98
|
-
```ruby
|
99
|
-
client.list_channels(updated_to: Time.new(2000, 1, 1))
|
100
|
-
```
|
101
|
-
|
102
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=ChLookup&LastUpdate=20000101_000000-20000201_000000`.
|
103
|
-
|
104
|
-
```ruby
|
105
|
-
client.list_channels(updated_from: Time.new(2000, 1, 1), updated_to: Time.new(2000, 2, 1))
|
73
|
+
http://cal.syoboi.jp/db.php?Command=ChLookup
|
106
74
|
```
|
107
75
|
|
108
76
|
### SyoboiCalendar::Client#list_programs
|
109
77
|
|
110
|
-
|
111
|
-
|
112
|
-
```ruby
|
113
|
-
client.list_programs
|
114
|
-
```
|
115
|
-
|
116
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=ProgLookup&JOIN=SubTitles&TID=1`.
|
117
|
-
|
118
|
-
```ruby
|
119
|
-
client.list_programs(title_id: 1)
|
120
|
-
```
|
121
|
-
|
122
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=ProgLookup&JOIN=SubTitles&PID=1`.
|
123
|
-
|
124
|
-
```ruby
|
125
|
-
client.list_programs(program_id: 1)
|
126
|
-
```
|
127
|
-
|
128
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?ChID=2&Command=ProgLookup&JOIN=SubTitles&PID=1`.
|
129
|
-
|
130
|
-
```ruby
|
131
|
-
client.list_programs(program_id: 1, channel_id: 2)
|
132
|
-
```
|
133
|
-
|
134
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=ProgLookup&Count=1&JOIN=SubTitles`.
|
135
|
-
|
136
|
-
```ruby
|
137
|
-
client.list_programs(count: 1)
|
138
|
-
```
|
139
|
-
|
140
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=ProgLookup&Fields=PID&JOIN=SubTitles`.
|
141
|
-
|
142
|
-
```ruby
|
143
|
-
client.list_programs(fields: ["PID"])
|
144
|
-
```
|
145
|
-
|
146
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=ProgLookup&JOIN=SubTitles&LastUpdate=20000101_000000-`.
|
147
|
-
|
148
|
-
```ruby
|
149
|
-
client.list_programs(updated_from: Time.new(2000, 1, 1))
|
150
|
-
```
|
151
|
-
|
152
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=ProgLookup&JOIN=SubTitles&LastUpdate=-20000101_000000`.
|
153
|
-
|
154
|
-
```ruby
|
155
|
-
client.list_programs(updated_to: Time.new(2000, 1, 1))
|
156
|
-
```
|
157
|
-
|
158
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=ProgLookup&JOIN=SubTitles&LastUpdate=20000101_000000-20000201_000000`.
|
159
|
-
|
160
|
-
```ruby
|
161
|
-
client.list_programs(updated_from: Time.new(2000, 1, 1), updated_to: Time.new(2000, 2, 1))
|
162
|
-
```
|
163
|
-
|
164
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=ProgLookup&JOIN=SubTitles&StTime=20000101_000000-`.
|
165
|
-
|
166
|
-
```ruby
|
167
|
-
client.list_programs(started_from: Time.new(2000, 1, 1))
|
168
|
-
```
|
169
|
-
|
170
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=ProgLookup&JOIN=SubTitles&StTime=-20000101_000000`.
|
171
|
-
|
172
|
-
```ruby
|
173
|
-
client.list_programs(started_to: Time.new(2000, 1, 1))
|
174
|
-
```
|
175
|
-
|
176
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=ProgLookup&JOIN=SubTitles&StTime=20000101_000000-20000201_000000`.
|
177
|
-
|
178
|
-
```ruby
|
179
|
-
client.list_programs(started_from: Time.new(2000, 1, 1), started_to: Time.new(2000, 2, 1))
|
180
|
-
```
|
78
|
+
Available options:
|
181
79
|
|
182
|
-
|
80
|
+
- `:count`
|
81
|
+
- `:fields`
|
82
|
+
- `:played_from`
|
83
|
+
- `:played_to`
|
84
|
+
- `:program_id`
|
85
|
+
- `:started_from`
|
86
|
+
- `:started_to`
|
87
|
+
- `:title_id`
|
88
|
+
- `:updated_from`
|
89
|
+
- `:updated_to`
|
183
90
|
|
184
91
|
```ruby
|
185
|
-
client.list_programs
|
92
|
+
client.list_programs
|
186
93
|
```
|
187
94
|
|
188
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=ProgLookup&JOIN=SubTitles&Range=-20000101_000000`.
|
189
|
-
|
190
|
-
```ruby
|
191
|
-
client.list_programs(played_to: Time.new(2000, 1, 1))
|
192
95
|
```
|
193
|
-
|
194
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=ProgLookup&JOIN=SubTitles&Range=20000101_000000-20000201_000000`.
|
195
|
-
|
196
|
-
```ruby
|
197
|
-
client.list_programs(played_from: Time.new(2000, 1, 1), played_to: Time.new(2000, 2, 1))
|
96
|
+
http://cal.syoboi.jp/db.php?Command=ProgLookup&JOIN=SubTitles
|
198
97
|
```
|
199
98
|
|
200
99
|
### SyoboiCalendar::Client#list_titles
|
201
100
|
|
202
|
-
|
203
|
-
|
204
|
-
```ruby
|
205
|
-
client.list_titles
|
206
|
-
```
|
207
|
-
|
208
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=TitleLookup&TID=1`.
|
209
|
-
|
210
|
-
```ruby
|
211
|
-
client.list_titles(title_id: 1)
|
212
|
-
```
|
213
|
-
|
214
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=TitleLookup&Fields=TID`.
|
215
|
-
|
216
|
-
```ruby
|
217
|
-
client.list_titles(fields: ["TID"])
|
218
|
-
```
|
219
|
-
|
220
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=TitleLookupp&TID=*&LastUpdate=20000101_000000-`.
|
221
|
-
|
222
|
-
```ruby
|
223
|
-
client.list_titles(updated_from: Time.new(2000, 1, 1))
|
224
|
-
```
|
225
|
-
|
226
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=TitleLookupp&TID=*&LastUpdate=-20000101_000000`.
|
227
|
-
|
228
|
-
```ruby
|
229
|
-
client.list_titles(updated_to: Time.new(2000, 1, 1))
|
230
|
-
```
|
231
|
-
|
232
|
-
Sends an HTTP request to `http://cal.syoboi.jp/db.php?Command=TitleLookupp&TID=*&LastUpdate=20000101_000000-20000201_000000`.
|
233
|
-
|
234
|
-
```ruby
|
235
|
-
client.list_titles(updated_from: Time.new(2000, 1, 1), updated_to: Time.new(2000, 2, 1))
|
236
|
-
```
|
237
|
-
|
238
|
-
### SyoboiCalendar::Resources::ChannelGroupResource#comment
|
239
|
-
|
240
|
-
```ruby
|
241
|
-
client.list_channel_groups.to_a[5].comment
|
242
|
-
```
|
243
|
-
|
244
|
-
<details>
|
245
|
-
<summary>Result</summary>
|
246
|
-
|
247
|
-
```ruby
|
248
|
-
"aa"
|
249
|
-
```
|
250
|
-
|
251
|
-
</details>
|
252
|
-
|
253
|
-
### SyoboiCalendar::Resources::ChannelGroupResource#id
|
254
|
-
|
255
|
-
```ruby
|
256
|
-
client.list_channel_groups.first.id
|
257
|
-
```
|
258
|
-
|
259
|
-
<details>
|
260
|
-
<summary>Result</summary>
|
261
|
-
|
262
|
-
```ruby
|
263
|
-
1
|
264
|
-
```
|
265
|
-
|
266
|
-
</details>
|
267
|
-
|
268
|
-
### SyoboiCalendar::Resources::ChannelGroupResource#name
|
269
|
-
|
270
|
-
```ruby
|
271
|
-
client.list_channel_groups.first.name
|
272
|
-
```
|
273
|
-
|
274
|
-
<details>
|
275
|
-
<summary>Result</summary>
|
276
|
-
|
277
|
-
```ruby
|
278
|
-
"テレビ 関東"
|
279
|
-
```
|
280
|
-
|
281
|
-
</details>
|
282
|
-
|
283
|
-
### SyoboiCalendar::Resources::ChannelGroupResource#order
|
284
|
-
|
285
|
-
```ruby
|
286
|
-
client.list_channel_groups.first.order
|
287
|
-
```
|
288
|
-
|
289
|
-
<details>
|
290
|
-
<summary>Result</summary>
|
291
|
-
|
292
|
-
```ruby
|
293
|
-
1200
|
294
|
-
```
|
295
|
-
|
296
|
-
</details>
|
297
|
-
|
298
|
-
### SyoboiCalendar::Resources::ChannelResource#channel_group_id
|
299
|
-
|
300
|
-
```ruby
|
301
|
-
client.list_channels.first.channel_group_id
|
302
|
-
```
|
303
|
-
|
304
|
-
<details>
|
305
|
-
<summary>Result</summary>
|
306
|
-
|
307
|
-
```ruby
|
308
|
-
11
|
309
|
-
```
|
310
|
-
|
311
|
-
</details>
|
312
|
-
|
313
|
-
### SyoboiCalendar::Resources::ChannelResource#comment
|
314
|
-
|
315
|
-
```ruby
|
316
|
-
client.list_channels.first.comment
|
317
|
-
```
|
318
|
-
|
319
|
-
<details>
|
320
|
-
<summary>Result</summary>
|
321
|
-
|
322
|
-
```ruby
|
323
|
-
"http://jk.nicovideo.jp/watch/jk1"
|
324
|
-
```
|
325
|
-
|
326
|
-
</details>
|
327
|
-
|
328
|
-
### SyoboiCalendar::Resources::ChannelResource#epg_url
|
329
|
-
|
330
|
-
```ruby
|
331
|
-
client.list_channels.first.epg_url
|
332
|
-
```
|
333
|
-
|
334
|
-
<details>
|
335
|
-
<summary>Result</summary>
|
336
|
-
|
337
|
-
```ruby
|
338
|
-
"http://www2.nhk.or.jp/hensei/program/wk.cgi?tz=all&ch=21"
|
339
|
-
```
|
340
|
-
|
341
|
-
</details>
|
342
|
-
|
343
|
-
### SyoboiCalendar::Resources::ChannelResource#id
|
344
|
-
|
345
|
-
```ruby
|
346
|
-
client.list_channels.first.id
|
347
|
-
```
|
348
|
-
|
349
|
-
<details>
|
350
|
-
<summary>Result</summary>
|
351
|
-
|
352
|
-
```ruby
|
353
|
-
1
|
354
|
-
```
|
355
|
-
|
356
|
-
</details>
|
357
|
-
|
358
|
-
### SyoboiCalendar::Resources::ChannelResource#iepg_name
|
359
|
-
|
360
|
-
```ruby
|
361
|
-
client.list_channels.first.iepg_name
|
362
|
-
```
|
363
|
-
|
364
|
-
<details>
|
365
|
-
<summary>Result</summary>
|
366
|
-
|
367
|
-
```ruby
|
368
|
-
"NHK総合"
|
369
|
-
```
|
370
|
-
|
371
|
-
</details>
|
372
|
-
|
373
|
-
### SyoboiCalendar::Resources::ChannelResource#name
|
374
|
-
|
375
|
-
```ruby
|
376
|
-
client.list_channels.first.name
|
377
|
-
```
|
378
|
-
|
379
|
-
<details>
|
380
|
-
<summary>Result</summary>
|
381
|
-
|
382
|
-
```ruby
|
383
|
-
"NHK総合"
|
384
|
-
```
|
385
|
-
|
386
|
-
</details>
|
387
|
-
|
388
|
-
### SyoboiCalendar::Resources::ChannelResource#number
|
389
|
-
|
390
|
-
```ruby
|
391
|
-
client.list_channels.first.number
|
392
|
-
```
|
393
|
-
|
394
|
-
<details>
|
395
|
-
<summary>Result</summary>
|
396
|
-
|
397
|
-
```ruby
|
398
|
-
1
|
399
|
-
```
|
400
|
-
|
401
|
-
</details>
|
402
|
-
|
403
|
-
### SyoboiCalendar::Resources::ChannelResource#url
|
404
|
-
|
405
|
-
```ruby
|
406
|
-
client.list_channels.first.url
|
407
|
-
```
|
408
|
-
|
409
|
-
<details>
|
410
|
-
<summary>Result</summary>
|
411
|
-
|
412
|
-
```ruby
|
413
|
-
"http://www.nhk.or.jp/"
|
414
|
-
```
|
415
|
-
|
416
|
-
</details>
|
417
|
-
|
418
|
-
### SyoboiCalendar::Resources::ProgramResource#channel_id
|
419
|
-
|
420
|
-
```ruby
|
421
|
-
client.list_programs.first.channel_id
|
422
|
-
```
|
423
|
-
|
424
|
-
<details>
|
425
|
-
<summary>Result</summary>
|
426
|
-
|
427
|
-
```ruby
|
428
|
-
6
|
429
|
-
```
|
430
|
-
|
431
|
-
</details>
|
432
|
-
|
433
|
-
### SyoboiCalendar::Resources::ProgramResource#comment
|
434
|
-
|
435
|
-
```ruby
|
436
|
-
client.list_programs[96].comment
|
437
|
-
```
|
438
|
-
|
439
|
-
<details>
|
440
|
-
<summary>Result</summary>
|
441
|
-
|
442
|
-
```ruby
|
443
|
-
"!都合によりEPISODE7を再放送"
|
444
|
-
```
|
445
|
-
|
446
|
-
</details>
|
447
|
-
|
448
|
-
### SyoboiCalendar::Resources::ProgramResource#count
|
449
|
-
|
450
|
-
```ruby
|
451
|
-
client.list_programs.first.count
|
452
|
-
```
|
453
|
-
|
454
|
-
<details>
|
455
|
-
<summary>Result</summary>
|
456
|
-
|
457
|
-
```ruby
|
458
|
-
12
|
459
|
-
```
|
460
|
-
|
461
|
-
</details>
|
462
|
-
|
463
|
-
### SyoboiCalendar::Resources::ProgramResource#deleted?
|
464
|
-
|
465
|
-
```ruby
|
466
|
-
client.list_programs.first.count
|
467
|
-
```
|
468
|
-
|
469
|
-
<details>
|
470
|
-
<summary>Result</summary>
|
471
|
-
|
472
|
-
```ruby
|
473
|
-
false
|
474
|
-
```
|
475
|
-
|
476
|
-
</details>
|
477
|
-
|
478
|
-
### SyoboiCalendar::Resources::ProgramResource#finished_at
|
479
|
-
|
480
|
-
```ruby
|
481
|
-
client.list_programs.first.finished_at.to_s
|
482
|
-
```
|
483
|
-
|
484
|
-
<details>
|
485
|
-
<summary>Result</summary>
|
486
|
-
|
487
|
-
```ruby
|
488
|
-
"2003-03-28 02:37:00 +0900"
|
489
|
-
```
|
490
|
-
|
491
|
-
</details>
|
492
|
-
|
493
|
-
### SyoboiCalendar::Resources::ProgramResource#flag
|
494
|
-
|
495
|
-
```ruby
|
496
|
-
client.list_programs.first.flag
|
497
|
-
```
|
498
|
-
|
499
|
-
<details>
|
500
|
-
<summary>Result</summary>
|
501
|
-
|
502
|
-
```ruby
|
503
|
-
0
|
504
|
-
```
|
505
|
-
|
506
|
-
</details>
|
507
|
-
|
508
|
-
### SyoboiCalendar::Resources::ProgramResource#revision
|
509
|
-
|
510
|
-
```ruby
|
511
|
-
client.list_programs.first.revision
|
512
|
-
```
|
513
|
-
|
514
|
-
<details>
|
515
|
-
<summary>Result</summary>
|
516
|
-
|
517
|
-
```ruby
|
518
|
-
0
|
519
|
-
```
|
520
|
-
|
521
|
-
</details>
|
522
|
-
|
523
|
-
### SyoboiCalendar::Resources::ProgramResource#started_at
|
524
|
-
|
525
|
-
```ruby
|
526
|
-
client.list_programs.first.started_at.to_s
|
527
|
-
```
|
528
|
-
|
529
|
-
<details>
|
530
|
-
<summary>Result</summary>
|
531
|
-
|
532
|
-
```ruby
|
533
|
-
"2003-03-28 02:07:00 +0900"
|
534
|
-
```
|
535
|
-
|
536
|
-
</details>
|
537
|
-
|
538
|
-
### SyoboiCalendar::Resources::ProgramResource#sub_title
|
539
|
-
|
540
|
-
```ruby
|
541
|
-
client.list_programs.first.sub_title
|
542
|
-
```
|
543
|
-
|
544
|
-
<details>
|
545
|
-
<summary>Result</summary>
|
546
|
-
|
547
|
-
```ruby
|
548
|
-
"魔法遣いに大切なこと"
|
549
|
-
```
|
550
|
-
|
551
|
-
</details>
|
552
|
-
|
553
|
-
### SyoboiCalendar::Resources::ProgramResource#title_id
|
554
|
-
|
555
|
-
```ruby
|
556
|
-
client.list_programs.first.title_id
|
557
|
-
```
|
558
|
-
|
559
|
-
<details>
|
560
|
-
<summary>Result</summary>
|
561
|
-
|
562
|
-
```ruby
|
563
|
-
1
|
564
|
-
```
|
565
|
-
|
566
|
-
</details>
|
567
|
-
|
568
|
-
### SyoboiCalendar::Resources::ProgramResource#updated_at
|
569
|
-
|
570
|
-
```ruby
|
571
|
-
client.list_programs.first.updated_at.to_s
|
572
|
-
```
|
573
|
-
|
574
|
-
<details>
|
575
|
-
<summary>Result</summary>
|
576
|
-
|
577
|
-
```ruby
|
578
|
-
"2003-03-27 03:38:14 +0900"
|
579
|
-
```
|
580
|
-
|
581
|
-
</details>
|
582
|
-
|
583
|
-
### SyoboiCalendar::Resources::ProgramResource#warn
|
584
|
-
|
585
|
-
```ruby
|
586
|
-
client.list_programs.first.warn
|
587
|
-
```
|
588
|
-
|
589
|
-
<details>
|
590
|
-
<summary>Result</summary>
|
591
|
-
|
592
|
-
```ruby
|
593
|
-
1
|
594
|
-
```
|
595
|
-
|
596
|
-
</details>
|
597
|
-
|
598
|
-
### SyoboiCalendar::Resources::TitleResource#category_id
|
599
|
-
|
600
|
-
```ruby
|
601
|
-
client.list_titles(title_id: 1).first.category_id
|
602
|
-
```
|
603
|
-
|
604
|
-
<details>
|
605
|
-
<summary>Result</summary>
|
606
|
-
|
607
|
-
```ruby
|
608
|
-
10
|
609
|
-
```
|
610
|
-
|
611
|
-
</details>
|
612
|
-
|
613
|
-
### SyoboiCalendar::Resources::TitleResource#comment
|
614
|
-
|
615
|
-
```ruby
|
616
|
-
client.list_titles(title_id: 1).first.comment
|
617
|
-
```
|
618
|
-
|
619
|
-
<details>
|
620
|
-
<summary>Result</summary>
|
621
|
-
|
622
|
-
```ruby
|
623
|
-
"*リンク\n-[[J.C.STAFF http://www.jcstaff.co.jp/sho-sai/maho-shokai/maho-story.htm]]\n-[[『魔法遣いに大切なこと』オフィシャルサイト archive://www.yume-mahou.com/]]\n*スタッ フ\n:監督:下田正美\n:原作・脚本:山田典枝\n:掲載:月刊コミックドラゴン(角川書店)\n:キャラクター原案:よしづきくみち\n:キャラクターデザイン:千葉道徳\n:総作画監督:川崎恵子\n:コンセプト・ワークス:横田耕三、幡池裕行\n:美術監督:西川淳一郎\n:色彩設定:石田美由紀\n:撮影監督:秋元央\n:編集:西山茂(タバック)\n:音響監督:田中英行(オーディオ・タナカ)\n:音楽:羽毛田丈史\n:音楽プロデューサー:廣井紀彦(パイオニアLDC)\n:音楽ディレクター:和田亨(キックアップ)\n:音楽協力:テレビ朝日ミュージック\n:録音調整:小原吉男\n:音響効果:今野康之(スワラ プロ)\n:選曲:神保直史\n:録音助手:国分政嗣\n:録音スタジオ:タバック\n:音響制作:オーディオ・タナカ\n:キャスティング協力:好永伸恵\n:ポストプロダクション:東京現像所\n:広報:小出わかな(テレビ朝日)\n:宣伝プロデュース:小林 剛(角川大映)、飯田尚史(パイオニアLDC)\n:アシスタントプロデューサー:佐々木美和(パイオニアLDC)\n:プロデューサー:清水俊(角川大映)、藤 田敏(角川大映)、河野勝(テレビ朝日)、松田章男(パイオニアLDC)\n:アニメーションプロデューサー:新崎力也(Viewworks)、松倉友二(J.C.STAFF)\n:企画:角川大映、テレビ朝日、パイオニアLDC、東北新社、電通、日販、角川書店\n:アニメーション制作:ヴューワークス、J.C.STAFF\n:制作:魔法局、テレビ朝日\n*キャスト\n:菊池ユメ:宮﨑あおい\n:小山田雅美:諏訪部順一\n:ケラ(加藤剛):飯田浩志\n:アンジェラ:渡辺明乃\n:遠藤耕三:中博史\n:古崎力哉:清川元夢\n:森川瑠奈:石毛佐和\n:ギンプン:辻谷耕史\n:ミリンダ:平松晶子\n*オープニング 「風の花」\n:作詞・作曲:おのまきこ\n:編曲:清水信之\n:歌:花*花\n*エンディング 「UNDER THE BLUE SKY」\n:作詞:田岡美樹\n:作曲・編曲:市川裕一\n:編曲:羽毛田丈史\n:歌:the Indigo"
|
624
|
-
```
|
625
|
-
|
626
|
-
</details>
|
627
|
-
|
628
|
-
### SyoboiCalendar::Resources::TitleResource#english_name
|
629
|
-
|
630
|
-
```ruby
|
631
|
-
client.list_titles(title_id: 8).first.english_name
|
632
|
-
```
|
633
|
-
|
634
|
-
<details>
|
635
|
-
<summary>Result</summary>
|
636
|
-
|
637
|
-
```ruby
|
638
|
-
"AIR MASTER"
|
639
|
-
```
|
640
|
-
|
641
|
-
</details>
|
642
|
-
|
643
|
-
### SyoboiCalendar::Resources::TitleResource#first_channel
|
644
|
-
|
645
|
-
```ruby
|
646
|
-
client.list_titles(title_id: 1).first.first_channel
|
647
|
-
```
|
648
|
-
|
649
|
-
<details>
|
650
|
-
<summary>Result</summary>
|
101
|
+
Available options:
|
651
102
|
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
</details>
|
657
|
-
|
658
|
-
### SyoboiCalendar::Resources::TitleResource#first_end_month
|
659
|
-
|
660
|
-
```ruby
|
661
|
-
client.list_titles(title_id: 1).first.first_end_month
|
662
|
-
```
|
663
|
-
|
664
|
-
<details>
|
665
|
-
<summary>Result</summary>
|
666
|
-
|
667
|
-
```ruby
|
668
|
-
3
|
669
|
-
```
|
670
|
-
|
671
|
-
</details>
|
672
|
-
|
673
|
-
### SyoboiCalendar::Resources::TitleResource#first_end_year
|
674
|
-
|
675
|
-
```ruby
|
676
|
-
client.list_titles(title_id: 1).first.first_end_year
|
677
|
-
```
|
678
|
-
|
679
|
-
<details>
|
680
|
-
<summary>Result</summary>
|
681
|
-
|
682
|
-
```ruby
|
683
|
-
2003
|
684
|
-
```
|
685
|
-
|
686
|
-
</details>
|
687
|
-
|
688
|
-
### SyoboiCalendar::Resources::TitleResource#first_month
|
689
|
-
|
690
|
-
```ruby
|
691
|
-
client.list_titles(title_id: 1).first.first_month
|
692
|
-
```
|
693
|
-
|
694
|
-
<details>
|
695
|
-
<summary>Result</summary>
|
696
|
-
|
697
|
-
```ruby
|
698
|
-
1
|
699
|
-
```
|
700
|
-
|
701
|
-
</details>
|
702
|
-
|
703
|
-
### SyoboiCalendar::Resources::TitleResource#first_year
|
704
|
-
|
705
|
-
```ruby
|
706
|
-
client.list_titles(title_id: 1).first.first_year
|
707
|
-
```
|
708
|
-
|
709
|
-
<details>
|
710
|
-
<summary>Result</summary>
|
711
|
-
|
712
|
-
```ruby
|
713
|
-
2003
|
714
|
-
```
|
715
|
-
|
716
|
-
</details>
|
717
|
-
|
718
|
-
### SyoboiCalendar::Resources::TitleResource#flag
|
719
|
-
|
720
|
-
```ruby
|
721
|
-
client.list_titles(title_id: 1).first.flag
|
722
|
-
```
|
723
|
-
|
724
|
-
<details>
|
725
|
-
<summary>Result</summary>
|
726
|
-
|
727
|
-
```ruby
|
728
|
-
0
|
729
|
-
```
|
730
|
-
|
731
|
-
</details>
|
732
|
-
|
733
|
-
### SyoboiCalendar::Resources::TitleResource#id
|
734
|
-
|
735
|
-
```ruby
|
736
|
-
client.list_titles(title_id: 1).first.id
|
737
|
-
```
|
738
|
-
|
739
|
-
<details>
|
740
|
-
<summary>Result</summary>
|
741
|
-
|
742
|
-
```ruby
|
743
|
-
1
|
744
|
-
```
|
745
|
-
|
746
|
-
</details>
|
747
|
-
|
748
|
-
### SyoboiCalendar::Resources::TitleResource#kana
|
749
|
-
|
750
|
-
```ruby
|
751
|
-
client.list_titles(title_id: 1).first.kana
|
752
|
-
```
|
753
|
-
|
754
|
-
<details>
|
755
|
-
<summary>Result</summary>
|
756
|
-
|
757
|
-
```ruby
|
758
|
-
"まほうつかいにたいせつなこと"
|
759
|
-
```
|
760
|
-
|
761
|
-
</details>
|
762
|
-
|
763
|
-
### SyoboiCalendar::Resources::TitleResource#keywords
|
764
|
-
|
765
|
-
```ruby
|
766
|
-
client.list_titles(title_id: 2).first.keywords
|
767
|
-
```
|
768
|
-
|
769
|
-
<details>
|
770
|
-
<summary>Result</summary>
|
771
|
-
|
772
|
-
```ruby
|
773
|
-
"ソニックX"
|
774
|
-
```
|
775
|
-
|
776
|
-
</details>
|
777
|
-
|
778
|
-
### SyoboiCalendar::Resources::TitleResource#name
|
779
|
-
|
780
|
-
```ruby
|
781
|
-
client.list_titles(title_id: 1).first.name
|
782
|
-
```
|
783
|
-
|
784
|
-
<details>
|
785
|
-
<summary>Result</summary>
|
786
|
-
|
787
|
-
```ruby
|
788
|
-
"魔法遣いに大切なこと"
|
789
|
-
```
|
790
|
-
|
791
|
-
</details>
|
792
|
-
|
793
|
-
### SyoboiCalendar::Resources::TitleResource#short_title
|
794
|
-
|
795
|
-
```ruby
|
796
|
-
client.list_titles(title_id: 4).first.short_title
|
797
|
-
```
|
798
|
-
|
799
|
-
<details>
|
800
|
-
<summary>Result</summary>
|
103
|
+
- `:fields`
|
104
|
+
- `:title_id`
|
105
|
+
- `:updated_from`
|
106
|
+
- `:updated_to`
|
801
107
|
|
802
108
|
```ruby
|
803
|
-
|
804
|
-
```
|
805
|
-
|
806
|
-
</details>
|
807
|
-
|
808
|
-
### SyoboiCalendar::Resources::TitleResource#sub_titles
|
809
|
-
|
810
|
-
```ruby
|
811
|
-
client.list_titles(title_id: 1).first.sub_titles
|
812
|
-
```
|
813
|
-
|
814
|
-
<details>
|
815
|
-
<summary>Result</summary>
|
816
|
-
|
817
|
-
```ruby
|
818
|
-
"*001*夕焼けと鉄骨・前編\n*002*夕焼けと鉄骨・後編\n*003*最高のニュース\n*004*夏の夜と魔法遣い\n*005*エプロンとシャンパン\n*006*魔法遣いになりたい\n*007*魔法遣いになれなかっ た魔法遣い\n*008*恋のバカヂカラ\n*009*ユメと少女と夏の種\n*010*魔法の行方\n*011*折れてしまった虹\n*012*魔法遣いに大切なこと"
|
819
|
-
```
|
820
|
-
|
821
|
-
</details>
|
822
|
-
|
823
|
-
### SyoboiCalendar::Resources::TitleResource#user_point
|
824
|
-
|
825
|
-
```ruby
|
826
|
-
client.list_titles(title_id: 1).first.user_point
|
827
|
-
```
|
828
|
-
|
829
|
-
<details>
|
830
|
-
<summary>Result</summary>
|
831
|
-
|
832
|
-
```ruby
|
833
|
-
4
|
834
|
-
```
|
835
|
-
|
836
|
-
</details>
|
837
|
-
|
838
|
-
### SyoboiCalendar::Resources::TitleResource#user_point_rank
|
839
|
-
|
840
|
-
```ruby
|
841
|
-
client.list_titles(title_id: 1).first.user_point_rank
|
109
|
+
client.list_titles
|
842
110
|
```
|
843
111
|
|
844
|
-
<details>
|
845
|
-
<summary>Result</summary>
|
846
|
-
|
847
|
-
```ruby
|
848
|
-
2825
|
849
112
|
```
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
113
|
+
http://cal.syoboi.jp/db.php?Command=TitleLookup&TID=*
|
114
|
+
```
|
115
|
+
|
116
|
+
### SyoboiCalendar::Responses::BaseResponse
|
117
|
+
|
118
|
+
Available methods:
|
119
|
+
|
120
|
+
- `#body`
|
121
|
+
- `#code`
|
122
|
+
- `#each`
|
123
|
+
- `#has_error?`
|
124
|
+
- `#headers`
|
125
|
+
- `#message`
|
126
|
+
- `#resources`
|
127
|
+
- `#status`
|
128
|
+
|
129
|
+
### SyoboiCalendar::Resources::ChannelGroupResource
|
130
|
+
|
131
|
+
Available attributes:
|
132
|
+
|
133
|
+
- `#comment`
|
134
|
+
- `#id`
|
135
|
+
- `#name`
|
136
|
+
- `#order`
|
137
|
+
|
138
|
+
### SyoboiCalendar::Resources::ChannelResource
|
139
|
+
|
140
|
+
Available attributes:
|
141
|
+
|
142
|
+
- `#channel_group_id`
|
143
|
+
- `#comment`
|
144
|
+
- `#epg_url`
|
145
|
+
- `#id`
|
146
|
+
- `#iepg_name`
|
147
|
+
- `#name`
|
148
|
+
- `#number`
|
149
|
+
- `#url`
|
150
|
+
|
151
|
+
### SyoboiCalendar::Resources::ProgramResource
|
152
|
+
|
153
|
+
Available attributes:
|
154
|
+
|
155
|
+
- `#channel_id`
|
156
|
+
- `#comment`
|
157
|
+
- `#count`
|
158
|
+
- `#deleted?`
|
159
|
+
- `#finished_at`
|
160
|
+
- `#flag`
|
161
|
+
- `#id`
|
162
|
+
- `#iepg_name`
|
163
|
+
- `#revision`
|
164
|
+
- `#started_at`
|
165
|
+
- `#sub_title`
|
166
|
+
- `#title_id`
|
167
|
+
- `#warn`
|
168
|
+
|
169
|
+
### SyoboiCalendar::Resources::TitleResource
|
170
|
+
|
171
|
+
Available attributes:
|
172
|
+
|
173
|
+
- `#category_id`
|
174
|
+
- `#comment`
|
175
|
+
- `#english_name`
|
176
|
+
- `#first_channel`
|
177
|
+
- `#first_end_month`
|
178
|
+
- `#first_end_year`
|
179
|
+
- `#first_month`
|
180
|
+
- `#first_year`
|
181
|
+
- `#flag`
|
182
|
+
- `#id`
|
183
|
+
- `#kana`
|
184
|
+
- `#keywords`
|
185
|
+
- `#name`
|
186
|
+
- `#short_title`
|
187
|
+
- `#sub_titles`
|
188
|
+
- `#user_point`
|
189
|
+
- `#user_point_rank`
|