sports_data_api 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,119 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <league xmlns="http://feed.elasticstats.com/schema/nfl/hierarchy-v1.0.xsd" id="NFL">
3
+ <conference id="AFC" name="AFC">
4
+ <division id="AFC_EAST" name="AFC East">
5
+ <team id="BUF" name="Bills" market="Buffalo">
6
+ <venue id="e9e0828e-37fc-4238-a317-49037577dd55" country="US" name="Ralph Wilson Stadium" city="Orchard Park" state="NY" capacity="73967" surface="artificial" type="outdoor" zip="" address=""/>
7
+ </team>
8
+ <team id="MIA" name="Dolphins" market="Miami">
9
+ <venue id="50a5c833-1570-4c38-abc7-7914cf87dbde" country="US" name="Sun Life Stadium" city="Miami Garden" state="FL" capacity="75235" surface="turf" type="outdoor" zip="" address=""/>
10
+ </team>
11
+ <team id="NYJ" name="Jets" market="New York">
12
+ <venue id="5d4c85c7-d84e-4e10-bd6a-8a15ebecca5c" country="US" name="New Meadowlands Stadium" city="East Rutherford" state="NJ" capacity="82500" surface="artificial" type="outdoor" zip="" address=""/>
13
+ </team>
14
+ <team id="NE" name="Patriots" market="New England">
15
+ <venue id="e43310b1-cb82-4df9-8be5-e9b39637031b" country="US" name="Gillette Stadium" city="Foxborough" state="MA" capacity="68756" surface="turf" type="outdoor" zip="" address=""/>
16
+ </team>
17
+ </division>
18
+ <division id="AFC_NORTH" name="AFC North">
19
+ <team id="CIN" name="Bengals" market="Cincinnati">
20
+ <venue id="b87a1595-d3c8-48ea-8a53-0aab6378a64a" country="US" name="Paul Brown Stadium" city="Cincinnati" state="OH" capacity="65535" surface="artificial" type="outdoor" zip="" address=""/>
21
+ </team>
22
+ <team id="CLE" name="Browns" market="Cleveland">
23
+ <venue id="90c38d91-3774-4f5d-82ca-1c806828219f" country="US" name="Cleveland Browns Stadium" city="Cleveland " state="OH" capacity="73200" surface="artificial" type="outdoor" zip="" address=""/>
24
+ </team>
25
+ <team id="BAL" name="Ravens" market="Baltimore">
26
+ <venue id="d54faae0-0314-484f-8604-9d8dd08e1149" country="US" name="M&amp;T Bank Stadium" city="Baltimore" state="MD" capacity="71008" surface="artificial" type="outdoor" zip="" address=""/>
27
+ </team>
28
+ <team id="PIT" name="Steelers" market="Pittsburgh">
29
+ <venue id="7349a2e6-0ac9-410b-8bd2-ca58c9f7aa34" country="US" name="Heinz Field" city="Pittsburgh" state="PA" capacity="65050" surface="turf" type="outdoor" zip="" address=""/>
30
+ </team>
31
+ </division>
32
+ <division id="AFC_SOUTH" name="AFC South">
33
+ <team id="IND" name="Colts" market="Indianapolis">
34
+ <venue id="6ed18563-53e0-46c2-a91d-12d73a16456d" country="US" name="Lucas Oil Stadium" city="Indianapolis" state="IN" capacity="67000" surface="artificial" type="retractable_dome" zip="46225" address="500 S. Capitol Avenue"/>
35
+ </team>
36
+ <team id="JAC" name="Jaguars" market="Jacksonville">
37
+ <venue id="4c5c036d-dd3d-4183-b595-71a43a97560f" country="US" name="EverBank Field" city="Jacksonville" state="FL" capacity="76877" surface="artificial" type="outdoor" zip="" address=""/>
38
+ </team>
39
+ <team id="HOU" name="Texans" market="Houston">
40
+ <venue id="6a72e5ca-33d0-40af-8e6b-b32a4d3d9346" country="US" name="Reliant Stadium" city="Houston" state="TX" capacity="71500" surface="turf" type="retractable_dome" zip="" address=""/>
41
+ </team>
42
+ <team id="TEN" name="Titans" market="Tennessee">
43
+ <venue id="5295c1b7-c85c-49cb-9569-1707c65324e5" country="US" name="LP Field" city="Nashville" state="TN" capacity="68798" surface="turf" type="outdoor" zip="" address=""/>
44
+ </team>
45
+ </division>
46
+ <division id="AFC_WEST" name="AFC West">
47
+ <team id="DEN" name="Broncos" market="Denver">
48
+ <venue id="6589e61d-ef1e-4e30-91b5-9acd2072b8a0" country="US" name="Sports Authority Field at Mile High" city="Denver " state="CO" capacity="76125" surface="turf" type="outdoor" zip="" address=""/>
49
+ </team>
50
+ <team id="SD" name="Chargers" market="San Diego">
51
+ <venue id="7ca47702-8951-45be-a4f5-3e7d78f8f399" country="US" name="Qualcomm Stadium" city="San Diego" state="CA" capacity="71294" surface="turf" type="outdoor" zip="" address=""/>
52
+ </team>
53
+ <team id="KC" name="Chiefs" market="Kansas City">
54
+ <venue id="2ec4c411-dac2-403d-b091-6b6aa4a0a914" country="US" name="Arrowhead Stadium" city="Kansas City" state="MO" capacity="79451" surface="turf" type="outdoor" zip="" address=""/>
55
+ </team>
56
+ <team id="OAK" name="Raiders" market="Oakland">
57
+ <venue id="ba1ad00f-9130-462c-93f9-5612a0015117" country="US" name="Oakland-Alameda County Coliseum" city="Oakland" state="CA" capacity="63026" surface="turf" type="outdoor" zip="" address=""/>
58
+ </team>
59
+ </division>
60
+ </conference>
61
+ <conference id="NFC" name="NFC">
62
+ <division id="NFC_EAST" name="NFC East">
63
+ <team id="DAL" name="Cowboys" market="Dallas">
64
+ <venue id="1e84213a-ff1f-4c9d-a003-8ee782b25a40" country="US" name="Cowboys Stadium" city="Arlington" state="TX" capacity="80000" surface="artificial" type="retractable_dome" zip="" address=""/>
65
+ </team>
66
+ <team id="PHI" name="Eagles" market="Philadelphia">
67
+ <venue id="4fa8c29c-6626-464c-8540-314ed7535e1b" country="US" name="Lincoln Financial Field" city="Philadelphia" state="PA" capacity="68532" surface="turf" type="outdoor" zip="" address=""/>
68
+ </team>
69
+ <team id="NYG" name="Giants" market="New York">
70
+ <venue id="5d4c85c7-d84e-4e10-bd6a-8a15ebecca5c" country="US" name="New Meadowlands Stadium" city="East Rutherford" state="NJ" capacity="82500" surface="artificial" type="outdoor" zip="" address=""/>
71
+ </team>
72
+ <team id="WAS" name="Redskins" market="Washington">
73
+ <venue id="7c11bb2d-4a53-4842-b842-0f1c63ed78e9" country="US" name="FedEx Field" city="Hyattsville" state="MD" capacity="91704" surface="turf" type="outdoor" zip="" address=""/>
74
+ </team>
75
+ </division>
76
+ <division id="NFC_NORTH" name="NFC North">
77
+ <team id="CHI" name="Bears" market="Chicago">
78
+ <venue id="d7866605-5ac6-4b3a-90e8-760cc5a26b75" country="US" name="Soldier Field" city="Chicago" state="IL" capacity="61500" surface="turf" type="outdoor" zip="" address=""/>
79
+ </team>
80
+ <team id="DET" name="Lions" market="Detroit">
81
+ <venue id="6e3bcf22-277d-4c06-b019-62aded51654f" country="US" name="Ford Field" city="Detroit" state="MI" capacity="65000" surface="artificial" type="dome" zip="" address=""/>
82
+ </team>
83
+ <team id="GB" name="Packers" market="Green Bay">
84
+ <venue id="5a60dd3a-302c-41c6-ab0f-dd335c1103c2" country="US" name="Lambeau Field" city="Green Bay" state="WI" capacity="72992" surface="turf" type="outdoor" zip="" address=""/>
85
+ </team>
86
+ <team id="MIN" name="Vikings" market="Minnesota">
87
+ <venue id="1fede74c-50a2-4036-a1c0-b4d1e53ca98c" country="US" name="Mall of America Field" city="Minneapolis" state="MN" capacity="64111" surface="artificial" type="dome" zip="" address=""/>
88
+ </team>
89
+ </division>
90
+ <division id="NFC_SOUTH" name="NFC South">
91
+ <team id="TB" name="Buccaneers" market="Tampa Bay">
92
+ <venue id="6fccc39c-80bc-4c81-83d9-2d5a848c8c09" country="US" name="Raymond James Stadium" city="Tampa Bay" state="FL" capacity="65657" surface="turf" type="outdoor" zip="" address=""/>
93
+ </team>
94
+ <team id="ATL" name="Falcons" market="Atlanta">
95
+ <venue id="216de6bf-bce0-409a-a9e7-90db8df1f7b9" country="US" name="Georgia Dome" city="Atlanta" state="GA" capacity="71250" surface="artificial" type="dome" zip="" address=""/>
96
+ </team>
97
+ <team id="CAR" name="Panthers" market="Carolina">
98
+ <venue id="39be9ed4-3292-49ac-8699-a381de3a4969" country="US" name="Bank of America Stadium" city="Charlotte" state="NC" capacity="73778" surface="turf" type="outdoor" zip="" address=""/>
99
+ </team>
100
+ <team id="NO" name="Saints" market="New Orleans">
101
+ <venue id="3c85d89a-ec66-4983-acd5-1381d6c8673a" country="US" name="Louisiana Superdome" city="New Orleans" state="LA" capacity="72968" surface="artificial" type="dome" zip="" address=""/>
102
+ </team>
103
+ </division>
104
+ <division id="NFC_WEST" name="NFC West">
105
+ <team id="SF" name="49ers" market="San Francisco">
106
+ <venue id="6701808c-c329-482b-9834-2d29cb3185ff" country="US" name="Candlestick Park" city="San Francisco" state="CA" capacity="70207" surface="turf" type="outdoor" zip="" address=""/>
107
+ </team>
108
+ <team id="ARI" name="Cardinals" market="Arizona">
109
+ <venue id="f8e4d2ab-53f9-4e9f-8c4a-9bc278094a84" country="US" name="University of Phoenix Stadium" city="Glendale" state="AZ" capacity="63400" surface="turf" type="retractable_dome" zip="" address=""/>
110
+ </team>
111
+ <team id="STL" name="Rams" market="St. Louis">
112
+ <venue id="e86a743f-ee77-490f-acfb-3187b7a9633e" country="US" name="Edward Jones Dome" city="St. Louis" state="MO" capacity="65321" surface="artificial" type="dome" zip="" address=""/>
113
+ </team>
114
+ <team id="SEA" name="Seahawks" market="Seattle">
115
+ <venue id="c6b9e5df-c9e4-434c-b3e6-83928f11cbda" country="US" name="Qwest Field" city="Seattle" state="WA" capacity="67000" surface="artificial" type="outdoor" zip="" address=""/>
116
+ </team>
117
+ </division>
118
+ </conference>
119
+ </league>
@@ -0,0 +1,29 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/sports_data_api/version', __FILE__)
3
+
4
+ Gem::Specification.new do |gem|
5
+ gem.authors = ["Ryan Lovelett"]
6
+ gem.email = ["ryan@lovelett.me"]
7
+ gem.description = %q{A Ruby interface to the Sports Data API.}
8
+ gem.summary = %q{SportsData’s comprehensive data coverage includes all major U.S. sports, plus hundreds of leagues throughout the world. Their live game analysts capture every possible event of every game, in real time and with accuracy standards developed from years of experience.}
9
+ gem.homepage = "https://github.com/RLovelett/sports_data_api"
10
+
11
+ gem.files = `git ls-files`.split($\)
12
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
+ gem.name = "sports_data_api"
15
+ gem.require_paths = ["lib"]
16
+ gem.version = SportsDataApi::VERSION
17
+
18
+ gem.add_dependency "nokogiri", "~> 1.5.5"
19
+ gem.add_dependency "rest-client", "~> 1.6.7"
20
+
21
+ gem.add_development_dependency "rake", "~> 0.9.2.2"
22
+ gem.add_development_dependency "rspec", "~> 2.11.0"
23
+ gem.add_development_dependency "rspec-xml", "~> 0.0.6"
24
+ gem.add_development_dependency "guard-rspec", "~> 2.1.0"
25
+ gem.add_development_dependency "rb-fsevent", "~> 0.9.1"
26
+ gem.add_development_dependency "growl", "~> 1.0.3"
27
+ gem.add_development_dependency "terminal-notifier-guard", "~> 1.5.3"
28
+ gem.add_development_dependency "faker", "~> 1.1.2"
29
+ end
metadata ADDED
@@ -0,0 +1,237 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sports_data_api
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Ryan Lovelett
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-11-04 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: nokogiri
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 1.5.5
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 1.5.5
30
+ - !ruby/object:Gem::Dependency
31
+ name: rest-client
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: 1.6.7
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 1.6.7
46
+ - !ruby/object:Gem::Dependency
47
+ name: rake
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: 0.9.2.2
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 0.9.2.2
62
+ - !ruby/object:Gem::Dependency
63
+ name: rspec
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: 2.11.0
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 2.11.0
78
+ - !ruby/object:Gem::Dependency
79
+ name: rspec-xml
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: 0.0.6
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 0.0.6
94
+ - !ruby/object:Gem::Dependency
95
+ name: guard-rspec
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ~>
100
+ - !ruby/object:Gem::Version
101
+ version: 2.1.0
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: 2.1.0
110
+ - !ruby/object:Gem::Dependency
111
+ name: rb-fsevent
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: 0.9.1
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ~>
124
+ - !ruby/object:Gem::Version
125
+ version: 0.9.1
126
+ - !ruby/object:Gem::Dependency
127
+ name: growl
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ~>
132
+ - !ruby/object:Gem::Version
133
+ version: 1.0.3
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ~>
140
+ - !ruby/object:Gem::Version
141
+ version: 1.0.3
142
+ - !ruby/object:Gem::Dependency
143
+ name: terminal-notifier-guard
144
+ requirement: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ~>
148
+ - !ruby/object:Gem::Version
149
+ version: 1.5.3
150
+ type: :development
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ~>
156
+ - !ruby/object:Gem::Version
157
+ version: 1.5.3
158
+ - !ruby/object:Gem::Dependency
159
+ name: faker
160
+ requirement: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ~>
164
+ - !ruby/object:Gem::Version
165
+ version: 1.1.2
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ~>
172
+ - !ruby/object:Gem::Version
173
+ version: 1.1.2
174
+ description: A Ruby interface to the Sports Data API.
175
+ email:
176
+ - ryan@lovelett.me
177
+ executables: []
178
+ extensions: []
179
+ extra_rdoc_files: []
180
+ files:
181
+ - .gitignore
182
+ - .rspec
183
+ - .rvmrc
184
+ - .travis.yml
185
+ - Gemfile
186
+ - Guardfile
187
+ - LICENSE.md
188
+ - README.md
189
+ - Rakefile
190
+ - lib/nfl.rb
191
+ - lib/sports_data_api.rb
192
+ - lib/sports_data_api/version.rb
193
+ - spec/lib/nfl_spec.rb
194
+ - spec/spec_helper.rb
195
+ - spec/xml/game.xml
196
+ - spec/xml/schedule.xml
197
+ - spec/xml/teams.xml
198
+ - sports_data_api.gemspec
199
+ homepage: https://github.com/RLovelett/sports_data_api
200
+ licenses: []
201
+ post_install_message:
202
+ rdoc_options: []
203
+ require_paths:
204
+ - lib
205
+ required_ruby_version: !ruby/object:Gem::Requirement
206
+ none: false
207
+ requirements:
208
+ - - ! '>='
209
+ - !ruby/object:Gem::Version
210
+ version: '0'
211
+ segments:
212
+ - 0
213
+ hash: -1347555009981213205
214
+ required_rubygems_version: !ruby/object:Gem::Requirement
215
+ none: false
216
+ requirements:
217
+ - - ! '>='
218
+ - !ruby/object:Gem::Version
219
+ version: '0'
220
+ segments:
221
+ - 0
222
+ hash: -1347555009981213205
223
+ requirements: []
224
+ rubyforge_project:
225
+ rubygems_version: 1.8.24
226
+ signing_key:
227
+ specification_version: 3
228
+ summary: SportsData’s comprehensive data coverage includes all major U.S. sports,
229
+ plus hundreds of leagues throughout the world. Their live game analysts capture
230
+ every possible event of every game, in real time and with accuracy standards developed
231
+ from years of experience.
232
+ test_files:
233
+ - spec/lib/nfl_spec.rb
234
+ - spec/spec_helper.rb
235
+ - spec/xml/game.xml
236
+ - spec/xml/schedule.xml
237
+ - spec/xml/teams.xml