Sha256: a7d81bf68ff593c784adb5d8f0964401e1f7994be057a0e94f9b0f97f5af2a66

Contents?: true

Size: 662 Bytes

Versions: 29

Compression:

Stored size: 662 Bytes

Contents

require_relative 'soccer/api'
require_relative 'soccer/group'
require_relative 'soccer/tournament'
require_relative 'soccer/standing'
require_relative 'soccer/team_group'
require_relative 'soccer/season'
require_relative 'soccer/match'
require_relative 'soccer/event'
require_relative 'soccer/lineup'
require_relative 'soccer/team'
require_relative 'soccer/player'
require_relative 'soccer/venue'
require_relative 'soccer/fact'
require_relative 'soccer/scoring'

module Sportradar
  module Api
    module Soccer
      
      def self.parse_results(arr)
        arr.map { |hash| hash["sport_event"].merge(hash["sport_event_status"]) }
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
sportradar-api-0.16.1 lib/sportradar/api/soccer.rb
sportradar-api-0.16.0 lib/sportradar/api/soccer.rb
sportradar-api-0.15.1 lib/sportradar/api/soccer.rb
sportradar-api-0.15.0 lib/sportradar/api/soccer.rb
sportradar-api-0.14.0 lib/sportradar/api/soccer.rb
sportradar-api-0.13.26 lib/sportradar/api/soccer.rb
sportradar-api-0.13.25 lib/sportradar/api/soccer.rb
sportradar-api-0.13.24 lib/sportradar/api/soccer.rb
sportradar-api-0.13.23 lib/sportradar/api/soccer.rb
sportradar-api-0.13.22 lib/sportradar/api/soccer.rb
sportradar-api-0.13.21 lib/sportradar/api/soccer.rb
sportradar-api-0.13.20 lib/sportradar/api/soccer.rb
sportradar-api-0.13.19 lib/sportradar/api/soccer.rb
sportradar-api-0.13.18 lib/sportradar/api/soccer.rb
sportradar-api-0.13.17 lib/sportradar/api/soccer.rb
sportradar-api-0.13.16 lib/sportradar/api/soccer.rb
sportradar-api-0.13.15 lib/sportradar/api/soccer.rb
sportradar-api-0.13.14 lib/sportradar/api/soccer.rb
sportradar-api-0.13.13 lib/sportradar/api/soccer.rb
sportradar-api-0.13.12 lib/sportradar/api/soccer.rb