tmsapi 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. data/.project +1 -0
  2. data/Readme.md +38 -5
  3. data/lib/tmsapi/model/organization.rb +13 -0
  4. data/lib/tmsapi/model/program.rb +2 -0
  5. data/lib/tmsapi/model/sport_info.rb +11 -0
  6. data/lib/tmsapi/model/sport_organization.rb +11 -0
  7. data/lib/tmsapi/model/team.rb +10 -0
  8. data/lib/tmsapi/model/university.rb +12 -0
  9. data/lib/tmsapi/resource/sports.rb +94 -2
  10. data/lib/tmsapi/resource/stations.rb +1 -1
  11. data/lib/tmsapi/version.rb +1 -1
  12. data/spec/api_spec.rb +180 -0
  13. data/spec/factories.rb +4 -8
  14. data/spec/vcr/cassettes/TMSAPI_API/_sports/_details/should_find_details_and_organizations_for_all_sports.yml +222 -0
  15. data/spec/vcr/cassettes/TMSAPI_API/_sports/_event_airings/should_find_some_airings.yml +116 -0
  16. data/spec/vcr/cassettes/TMSAPI_API/_sports/_nonevent_airings/should_return_nonevent_airings.yml +3882 -0
  17. data/spec/vcr/cassettes/TMSAPI_API/_sports/_organization_airings/should_return_airings.yml +142 -0
  18. data/spec/vcr/cassettes/TMSAPI_API/_sports/_organization_teams/should_return_organization_information_and_teams_with_a_string_param.yml +107 -0
  19. data/spec/vcr/cassettes/TMSAPI_API/_sports/_organization_teams/should_return_organization_information_and_teams_with_an_int_param.yml +107 -0
  20. data/spec/vcr/cassettes/TMSAPI_API/_sports/_team_airings/should_return_airings.yml +73 -0
  21. data/spec/vcr/cassettes/TMSAPI_API/_sports/_team_details/should_have_team_information.yml +71 -0
  22. data/spec/vcr/cassettes/TMSAPI_API/_sports/_universities/should_return_all_universities.yml +2431 -0
  23. data/spec/vcr/cassettes/TMSAPI_API/_sports/_university_teams/should_return_teams_for_this_university.yml +147 -0
  24. data/tmsapi.gemspec +1 -1
  25. metadata +57 -9
  26. checksums.yaml +0 -7
@@ -0,0 +1,142 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://data.tmsapi.com/v1/sports/organizations/17,19/airings?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&lineupId=USA-TX42500-X&startDateTime=2014-01-03T15%3A40Z
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - tmsapi rubygem v0.0.1
12
+ response:
13
+ status:
14
+ code: 200
15
+ message:
16
+ headers:
17
+ !binary "eC1tYXNoZXJ5LXJlc3BvbmRlcg==":
18
+ - !binary |-
19
+ cHJvZC1qLXdvcmtlci1sYXgtMDQubWFzaGVyeS5jb20=
20
+ !binary "YWNjZXB0LXJhbmdlcw==":
21
+ - !binary |-
22
+ Ynl0ZXM=
23
+ !binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctaGVhZGVycw==":
24
+ - !binary |-
25
+ b3JpZ2luLCBjb250ZW50LXR5cGUsIGFjY2VwdA==
26
+ !binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctbWV0aG9kcw==":
27
+ - !binary |-
28
+ R0VULCBQT1NULCBPUFRJT05T
29
+ !binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctb3JpZ2lu":
30
+ - !binary |-
31
+ Kg==
32
+ !binary "YWNjZXNzLWNvbnRyb2wtY29udGVudC10eXBl":
33
+ - !binary |-
34
+ Ki8q
35
+ !binary "YWNjZXNzLWNvbnRyb2wtbWF4LWFnZQ==":
36
+ - !binary |-
37
+ ODY0MDA=
38
+ !binary "YWdl":
39
+ - !binary |-
40
+ MA==
41
+ !binary "Y29udGVudC10eXBl":
42
+ - !binary |-
43
+ YXBwbGljYXRpb24vanNvbjtjaGFyc2V0PSJVVEYtOCI=
44
+ !binary "ZGF0ZQ==":
45
+ - !binary |-
46
+ RnJpLCAwMyBKYW4gMjAxNCAxOToyODo0MiBHTVQ=
47
+ !binary "c2VydmVy":
48
+ - !binary |-
49
+ SmV0dHkoNi4xLjI0KQ==
50
+ !binary "dmlh":
51
+ - !binary |-
52
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 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://data.tmsapi.com/v1/sports/organizations/17?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - tmsapi rubygem v0.0.1
12
+ response:
13
+ status:
14
+ code: 200
15
+ message:
16
+ headers:
17
+ !binary "eC1tYXNoZXJ5LXJlc3BvbmRlcg==":
18
+ - !binary |-
19
+ cHJvZC1qLXdvcmtlci1sYXgtMDMubWFzaGVyeS5jb20=
20
+ !binary "YWNjZXB0LXJhbmdlcw==":
21
+ - !binary |-
22
+ Ynl0ZXM=
23
+ !binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctaGVhZGVycw==":
24
+ - !binary |-
25
+ b3JpZ2luLCBjb250ZW50LXR5cGUsIGFjY2VwdA==
26
+ !binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctbWV0aG9kcw==":
27
+ - !binary |-
28
+ R0VULCBQT1NULCBPUFRJT05T
29
+ !binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctb3JpZ2lu":
30
+ - !binary |-
31
+ Kg==
32
+ !binary "YWNjZXNzLWNvbnRyb2wtY29udGVudC10eXBl":
33
+ - !binary |-
34
+ Ki8q
35
+ !binary "YWNjZXNzLWNvbnRyb2wtbWF4LWFnZQ==":
36
+ - !binary |-
37
+ ODY0MDA=
38
+ !binary "YWdl":
39
+ - !binary |-
40
+ MA==
41
+ !binary "Y29udGVudC10eXBl":
42
+ - !binary |-
43
+ YXBwbGljYXRpb24vanNvbjtjaGFyc2V0PSJVVEYtOCI=
44
+ !binary "ZGF0ZQ==":
45
+ - !binary |-
46
+ RnJpLCAwMyBKYW4gMjAxNCAxODozMTo0NyBHTVQ=
47
+ !binary "c2VydmVy":
48
+ - !binary |-
49
+ SmV0dHkoNi4xLjI0KQ==
50
+ !binary "dmlh":
51
+ - !binary |-
52
+ MS4xIHZhcm5pc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IEF0aGxldGljcyJ9LHsidGVh
92
+ bUJyYW5kSWQiOiIyMSIsInRlYW1CcmFuZE5hbWUiOiJQaGlsYWRlbHBoaWEg
93
+ UGhpbGxpZXMifSx7InRlYW1CcmFuZElkIjoiMjIiLCJ0ZWFtQnJhbmROYW1l
94
+ IjoiUGl0dHNidXJnaCBQaXJhdGVzIn0seyJ0ZWFtQnJhbmRJZCI6IjIzIiwi
95
+ dGVhbUJyYW5kTmFtZSI6IlNhbiBEaWVnbyBQYWRyZXMifSx7InRlYW1CcmFu
96
+ ZElkIjoiMjQiLCJ0ZWFtQnJhbmROYW1lIjoiU2FuIEZyYW5jaXNjbyBHaWFu
97
+ dHMifSx7InRlYW1CcmFuZElkIjoiMjUiLCJ0ZWFtQnJhbmROYW1lIjoiU2Vh
98
+ dHRsZSBNYXJpbmVycyJ9LHsidGVhbUJyYW5kSWQiOiIyNiIsInRlYW1CcmFu
99
+ ZE5hbWUiOiJTdC4gTG91aXMgQ2FyZGluYWxzIn0seyJ0ZWFtQnJhbmRJZCI6
100
+ IjI3IiwidGVhbUJyYW5kTmFtZSI6IlRhbXBhIEJheSBSYXlzIn0seyJ0ZWFt
101
+ QnJhbmRJZCI6IjI4IiwidGVhbUJyYW5kTmFtZSI6IlRleGFzIFJhbmdlcnMi
102
+ fSx7InRlYW1CcmFuZElkIjoiMjkiLCJ0ZWFtQnJhbmROYW1lIjoiVG9yb250
103
+ byBCbHVlIEpheXMifSx7InRlYW1CcmFuZElkIjoiMzAiLCJ0ZWFtQnJhbmRO
104
+ YW1lIjoiV2FzaGluZ3RvbiBOYXRpb25hbHMifV19XQ==
105
+ http_version:
106
+ recorded_at: Fri, 03 Jan 2014 18:31:47 GMT
107
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,107 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://data.tmsapi.com/v1/sports/organizations/17?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - tmsapi rubygem v0.0.1
12
+ response:
13
+ status:
14
+ code: 200
15
+ message:
16
+ headers:
17
+ !binary "eC1tYXNoZXJ5LXJlc3BvbmRlcg==":
18
+ - !binary |-
19
+ cHJvZC1qLXdvcmtlci1sYXgtMDIubWFzaGVyeS5jb20=
20
+ !binary "YWNjZXB0LXJhbmdlcw==":
21
+ - !binary |-
22
+ Ynl0ZXM=
23
+ !binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctaGVhZGVycw==":
24
+ - !binary |-
25
+ b3JpZ2luLCBjb250ZW50LXR5cGUsIGFjY2VwdA==
26
+ !binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctbWV0aG9kcw==":
27
+ - !binary |-
28
+ R0VULCBQT1NULCBPUFRJT05T
29
+ !binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctb3JpZ2lu":
30
+ - !binary |-
31
+ Kg==
32
+ !binary "YWNjZXNzLWNvbnRyb2wtY29udGVudC10eXBl":
33
+ - !binary |-
34
+ Ki8q
35
+ !binary "YWNjZXNzLWNvbnRyb2wtbWF4LWFnZQ==":
36
+ - !binary |-
37
+ ODY0MDA=
38
+ !binary "YWdl":
39
+ - !binary |-
40
+ MA==
41
+ !binary "Y29udGVudC10eXBl":
42
+ - !binary |-
43
+ YXBwbGljYXRpb24vanNvbjtjaGFyc2V0PSJVVEYtOCI=
44
+ !binary "ZGF0ZQ==":
45
+ - !binary |-
46
+ RnJpLCAwMyBKYW4gMjAxNCAxODozMTo0NyBHTVQ=
47
+ !binary "c2VydmVy":
48
+ - !binary |-
49
+ SmV0dHkoNi4xLjI0KQ==
50
+ !binary "dmlh":
51
+ - !binary |-
52
+ MS4xIHZhcm5pc2g=
53
+ !binary "eC12YXJuaXNo":
54
+ - !binary |-
55
+ MTI4NzIwMjA5MQ==
56
+ !binary "Y29ubmVjdGlvbg==":
57
+ - !binary |-
58
+ Y2xvc2U=
59
+ body:
60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FuZElkIjoiMjIiLCJ0ZWFtQnJhbmROYW1l
94
+ IjoiUGl0dHNidXJnaCBQaXJhdGVzIn0seyJ0ZWFtQnJhbmRJZCI6IjIzIiwi
95
+ dGVhbUJyYW5kTmFtZSI6IlNhbiBEaWVnbyBQYWRyZXMifSx7InRlYW1CcmFu
96
+ ZElkIjoiMjQiLCJ0ZWFtQnJhbmROYW1lIjoiU2FuIEZyYW5jaXNjbyBHaWFu
97
+ dHMifSx7InRlYW1CcmFuZElkIjoiMjUiLCJ0ZWFtQnJhbmROYW1lIjoiU2Vh
98
+ dHRsZSBNYXJpbmVycyJ9LHsidGVhbUJyYW5kSWQiOiIyNiIsInRlYW1CcmFu
99
+ ZE5hbWUiOiJTdC4gTG91aXMgQ2FyZGluYWxzIn0seyJ0ZWFtQnJhbmRJZCI6
100
+ IjI3IiwidGVhbUJyYW5kTmFtZSI6IlRhbXBhIEJheSBSYXlzIn0seyJ0ZWFt
101
+ QnJhbmRJZCI6IjI4IiwidGVhbUJyYW5kTmFtZSI6IlRleGFzIFJhbmdlcnMi
102
+ fSx7InRlYW1CcmFuZElkIjoiMjkiLCJ0ZWFtQnJhbmROYW1lIjoiVG9yb250
103
+ byBCbHVlIEpheXMifSx7InRlYW1CcmFuZElkIjoiMzAiLCJ0ZWFtQnJhbmRO
104
+ YW1lIjoiV2FzaGluZ3RvbiBOYXRpb25hbHMifV19XQ==
105
+ http_version:
106
+ recorded_at: Fri, 03 Jan 2014 18:31:47 GMT
107
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,73 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://data.tmsapi.com/v1/sports/teams/37/airings?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY&lineupId=USA-NY31586-X&startDateTime=2014-01-03T15%3A40Z&endDateTime=2014-01-14T15%3A00Z
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - tmsapi rubygem v0.0.1
12
+ response:
13
+ status:
14
+ code: 200
15
+ message:
16
+ headers:
17
+ !binary "eC1tYXNoZXJ5LXJlc3BvbmRlcg==":
18
+ - !binary |-
19
+ cHJvZC1qLXdvcmtlci1sYXgtMDIubWFzaGVyeS5jb20=
20
+ !binary "YWNjZXB0LXJhbmdlcw==":
21
+ - !binary |-
22
+ Ynl0ZXM=
23
+ !binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctaGVhZGVycw==":
24
+ - !binary |-
25
+ b3JpZ2luLCBjb250ZW50LXR5cGUsIGFjY2VwdA==
26
+ !binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctbWV0aG9kcw==":
27
+ - !binary |-
28
+ R0VULCBQT1NULCBPUFRJT05T
29
+ !binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctb3JpZ2lu":
30
+ - !binary |-
31
+ Kg==
32
+ !binary "YWNjZXNzLWNvbnRyb2wtY29udGVudC10eXBl":
33
+ - !binary |-
34
+ Ki8q
35
+ !binary "YWNjZXNzLWNvbnRyb2wtbWF4LWFnZQ==":
36
+ - !binary |-
37
+ ODY0MDA=
38
+ !binary "YWdl":
39
+ - !binary |-
40
+ MA==
41
+ !binary "Y29udGVudC10eXBl":
42
+ - !binary |-
43
+ YXBwbGljYXRpb24vanNvbjtjaGFyc2V0PSJVVEYtOCI=
44
+ !binary "ZGF0ZQ==":
45
+ - !binary |-
46
+ RnJpLCAwMyBKYW4gMjAxNCAxOToxNDoxNyBHTVQ=
47
+ !binary "c2VydmVy":
48
+ - !binary |-
49
+ SmV0dHkoNi4xLjI0KQ==
50
+ !binary "dmlh":
51
+ - !binary |-
52
+ MS4xIHZhcm5pc2g=
53
+ !binary "eC12YXJuaXNo":
54
+ - !binary |-
55
+ MTI4NzIxMzkyOQ==
56
+ !binary "Y29ubmVjdGlvbg==":
57
+ - !binary |-
58
+ Y2xvc2U=
59
+ body:
60
+ encoding: ASCII-8BIT
61
+ string: !binary |-
62
+ W3sic3RhcnRUaW1lIjoiMjAxNC0wMS0wNVQxODowMFoiLCJlbmRUaW1lIjoi
63
+ MjAxNC0wMS0wNVQyMTozMFoiLCJkdXJhdGlvbiI6MjEwLCJxdWFsaWZpZXJz
64
+ IjpbIkNDIiwiTGl2ZSIsIk5ldyJdLCJjaGFubmVscyI6WyIxMjA5IiwiMDA2
65
+ Il0sInN0YXRpb24iOnsicHJlZmVycmVkSW1hZ2UiOnsidXJpIjoiaHR0cDov
66
+ L2RlbW8udG1zaW1nLmNvbS9zb3VyY2VzL2dlbmVyaWMvZ2VuZXJpY19zb3Vy
67
+ Y2VzX2gzLnBuZyJ9LCJjYWxsU2lnbiI6IldSR0IiLCJzdGF0aW9uSWQiOiIx
68
+ MTgxOCJ9LCJzdGF0aW9uSWQiOiIxMTgxOCIsInByb2dyYW0iOnsicm9vdElk
69
+ IjoiMTAzMDA3MTYiLCJzZXJpZXNJZCI6IjE5MTI3NyIsInRtc0lkIjoiRVAw
70
+ MDAwMzEyODExOTUifX1d
71
+ http_version:
72
+ recorded_at: Fri, 03 Jan 2014 19:14:17 GMT
73
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,71 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://data.tmsapi.com/v1/sports/teams/1?api_key=api_key_YYYYYYYYYYYYYYYYYYYYY
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - tmsapi rubygem v0.0.1
12
+ response:
13
+ status:
14
+ code: 200
15
+ message:
16
+ headers:
17
+ !binary "eC1tYXNoZXJ5LXJlc3BvbmRlcg==":
18
+ - !binary |-
19
+ cHJvZC1qLXdvcmtlci1sYXgtMDIubWFzaGVyeS5jb20=
20
+ !binary "YWNjZXB0LXJhbmdlcw==":
21
+ - !binary |-
22
+ Ynl0ZXM=
23
+ !binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctaGVhZGVycw==":
24
+ - !binary |-
25
+ b3JpZ2luLCBjb250ZW50LXR5cGUsIGFjY2VwdA==
26
+ !binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctbWV0aG9kcw==":
27
+ - !binary |-
28
+ R0VULCBQT1NULCBPUFRJT05T
29
+ !binary "YWNjZXNzLWNvbnRyb2wtYWxsb3ctb3JpZ2lu":
30
+ - !binary |-
31
+ Kg==
32
+ !binary "YWNjZXNzLWNvbnRyb2wtY29udGVudC10eXBl":
33
+ - !binary |-
34
+ Ki8q
35
+ !binary "YWNjZXNzLWNvbnRyb2wtbWF4LWFnZQ==":
36
+ - !binary |-
37
+ ODY0MDA=
38
+ !binary "YWdl":
39
+ - !binary |-
40
+ MA==
41
+ !binary "Y29udGVudC10eXBl":
42
+ - !binary |-
43
+ YXBwbGljYXRpb24vanNvbjtjaGFyc2V0PSJVVEYtOCI=
44
+ !binary "ZGF0ZQ==":
45
+ - !binary |-
46
+ RnJpLCAwMyBKYW4gMjAxNCAxODo1MzoxMiBHTVQ=
47
+ !binary "c2VydmVy":
48
+ - !binary |-
49
+ SmV0dHkoNi4xLjI0KQ==
50
+ !binary "dmlh":
51
+ - !binary |-
52
+ MS4xIHZhcm5pc2g=
53
+ !binary "eC12YXJuaXNo":
54
+ - !binary |-
55
+ MTMyOTQ5MTA0NA==
56
+ !binary "Y29ubmVjdGlvbg==":
57
+ - !binary |-
58
+ Y2xvc2U=
59
+ body:
60
+ encoding: ASCII-8BIT
61
+ string: !binary |-
62
+ W3sidGVhbUJyYW5kSWQiOiIxIiwidGVhbUJyYW5kTmFtZSI6IkFyaXpvbmEg
63
+ RGlhbW9uZGJhY2tzIiwiYWJicmV2aWF0aW9uIjoiQVJJIiwibmlja05hbWUi
64
+ OiJEaWFtb25kYmFja3MiLCJwcm9wZXJOYW1lIjoiQXJpem9uYSIsInNwb3J0
65
+ c0lkIjoiNTgiLCJwcmVmZXJyZWRJbWFnZSI6eyJ1cmkiOiJodHRwOi8vZGVt
66
+ by50bXNpbWcuY29tL3Nwb3J0c2xvZ29zL2gzL0FsbFBob3Rvcy8xL3QxX2xf
67
+ aDNfYWEucG5nIiwiaGVpZ2h0IjoiMjcwIiwid2lkdGgiOiIzNjAiLCJwcmlt
68
+ YXJ5IjoidHJ1ZSIsImNhdGVnb3J5IjoiTG9nbyJ9fV0=
69
+ http_version:
70
+ recorded_at: Fri, 03 Jan 2014 18:53:12 GMT
71
+ recorded_with: VCR 2.8.0